test/external: Add setup call to test_make.sh
This makes sure that we will have the hugepages we need even on systems that don't have them configured by default. Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I9a0d82e0abf6363c1c037732b543c05e8931f97e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2141 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
58a8fe2eee
commit
c89b28a9eb
@ -8,6 +8,9 @@ source "$rootdir/test/common/autotest_common.sh"
|
||||
set -e
|
||||
SPDK_DIR=$1
|
||||
|
||||
# Skip all pci devices. These tests don't rely on them.
|
||||
sudo PCI_WHITELIST="NONE" HUGEMEM=1024 $SPDK_DIR/scripts/setup.sh
|
||||
|
||||
$SPDK_DIR/configure --with-shared --without-isal --without-ocf --disable-asan
|
||||
make -C $SPDK_DIR -j$(nproc)
|
||||
|
||||
@ -61,3 +64,5 @@ LD_LIBRARY_PATH=$SPDK_LIB_DIR:$DPDK_LIB_DIR run_test "external_run_tc6" $test_ro
|
||||
|
||||
make -C $test_root clean
|
||||
make -C $SPDK_DIR -j$(nproc) clean
|
||||
|
||||
sudo PCI_WHITELIST="NONE" $SPDK_DIR/scripts/setup.sh reset
|
||||
|
Loading…
Reference in New Issue
Block a user