test/iscsi: do not rsync dpdk directory for ext4test
This test sets DPDK_DIR to the main repository so does not build DPDK on the mounted iSCSI LUN. So don't bother copying the dpdk subdirectory to the iSCSI LUN which saves a few seconds for every test run. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ieb04f94b7955acbafb283638531ad076afbf2302 Reviewed-on: https://review.gerrithub.io/362268 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
5597e835c8
commit
f21448cfbc
@ -95,7 +95,7 @@ for dev in $devs; do
|
|||||||
mkdir -p /mnt/${dev}dir
|
mkdir -p /mnt/${dev}dir
|
||||||
mount -o sync /dev/$dev /mnt/${dev}dir
|
mount -o sync /dev/$dev /mnt/${dev}dir
|
||||||
|
|
||||||
rsync -qav --exclude=".git" $rootdir/ /mnt/${dev}dir/spdk
|
rsync -qav --exclude=".git" --exclude="dpdk" $rootdir/ /mnt/${dev}dir/spdk
|
||||||
|
|
||||||
make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR clean
|
make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR clean
|
||||||
make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR -j16
|
make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR -j16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user