From a115aeff3644ea18f07b7199c360469d143c98ed Mon Sep 17 00:00:00 2001 From: Konrad Sztyber Date: Wed, 24 Feb 2021 14:28:10 +0100 Subject: [PATCH] test/external_code: bind to all PCI devices Removed the PCI_ALLOWED="NONE" line from setup.sh calls to bind to all available PCI devices. It'll allow the out-of-tree NVMe driver tests from the following patch to execute properly, as they require NVMe devices to be attachable from SPDK. Signed-off-by: Konrad Sztyber Change-Id: I56e89a6b853f02343803bb6ec704ea3c0a8bd12f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6679 Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins --- test/external_code/test_make.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/external_code/test_make.sh b/test/external_code/test_make.sh index d98cac346..095c51eca 100755 --- a/test/external_code/test_make.sh +++ b/test/external_code/test_make.sh @@ -12,8 +12,7 @@ if [ -z "$EXTERNAL_MAKE_HUGEMEM" ]; then EXTERNAL_MAKE_HUGEMEM=$HUGEMEM fi -# Skip all pci devices. These tests don't rely on them. -sudo PCI_ALLOWED="NONE" HUGEMEM="$EXTERNAL_MAKE_HUGEMEM" $SPDK_DIR/scripts/setup.sh +sudo HUGEMEM="$EXTERNAL_MAKE_HUGEMEM" $SPDK_DIR/scripts/setup.sh make -C $SPDK_DIR clean $SPDK_DIR/configure --with-shared --without-isal --without-ocf --disable-asan @@ -66,4 +65,4 @@ run_test "external_run_tc6" $test_root/hello_world/hello_bdev --json $test_root/ make -C $test_root clean make -C $SPDK_DIR -j$(nproc) clean -sudo PCI_ALLOWED="NONE" HUGEMEM="$HUGEMEM" $SPDK_DIR/scripts/setup.sh reset +sudo HUGEMEM="$HUGEMEM" $SPDK_DIR/scripts/setup.sh reset