Commit 70c41f75 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent f325e71c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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