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 <konrad.sztyber@intel.com>
Change-Id: I56e89a6b853f02343803bb6ec704ea3c0a8bd12f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6679
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Konrad Sztyber 2021-02-24 14:28:10 +01:00 committed by Tomasz Zawadzki
parent 183ac8884d
commit a115aeff36

View File

@ -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