test/external_code: make clean before starting tests
This test script is based around only a strict subset of the SPDK configuration options. If we don't clean before building, we could still have libraries in build/lib from previous tests that the external_code Makefiles do not account for when linking libspdk.so, which will include *all* libraries in build/lib. Fixes issue #1662. Fixes issue #1665. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I525ea1740313048fc44f26b5b0db9ab38161725e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4970 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: <dongx.yi@intel.com>
This commit is contained in:
parent
1b56233c0c
commit
39c31e6c0c
@ -11,6 +11,7 @@ SPDK_DIR=$1
|
||||
# Skip all pci devices. These tests don't rely on them.
|
||||
sudo PCI_WHITELIST="NONE" HUGEMEM="$HUGEMEM" $SPDK_DIR/scripts/setup.sh
|
||||
|
||||
make -C $SPDK_DIR clean
|
||||
$SPDK_DIR/configure --with-shared --without-isal --without-ocf --disable-asan
|
||||
make -C $SPDK_DIR -j$(nproc)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user