test/vhost: override NRHUGE to avoid extra setup
Rather than re-running setup.sh during the vhost tests, just pre-configure NRHUGE to the necessary value for all setup.sh invocations during autotest. Change-Id: I1a4d9a7f7ab52082a8f626c3c64807417a493b5f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
f325e71c9d
commit
70c41f75b5
@ -7,6 +7,9 @@ MAKECONFIG='CONFIG_DEBUG=y CONFIG_WERROR=y'
|
||||
|
||||
export UBSAN_OPTIONS='halt_on_error=1:print_stacktrace=1:abort_on_error=1'
|
||||
|
||||
# Override the default NRHUGE in scripts/setup.sh
|
||||
export NRHUGE=4096
|
||||
|
||||
case `uname` in
|
||||
FreeBSD)
|
||||
DPDK_DIR=/usr/local/share/dpdk/x86_64-native-bsdapp-clang
|
||||
|
@ -14,7 +14,6 @@ param="$1"
|
||||
|
||||
if [ $(uname -s) = Linux ]; then
|
||||
|
||||
NRHUGE=4096 ./../../scripts/setup.sh
|
||||
echo Running SPDK vhost fio autotest...
|
||||
|
||||
case $param in
|
||||
|
Loading…
Reference in New Issue
Block a user