test/nvme/hotplug: don't copy unnecessary files to the VM
This cuts down even 10 seconds. We only need a few binaries and spdk ./scripts directory on the VM, not all SPDK sources. Change-Id: If63bdaec9ee4cf3f42ab7fce1bf107847580dbf7 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2145 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
90190aef02
commit
85d0f9a83a
@ -104,10 +104,13 @@ ssh_vm 'echo ready'
|
|||||||
timing_exit wait_for_vm
|
timing_exit wait_for_vm
|
||||||
|
|
||||||
timing_enter copy_repo
|
timing_enter copy_repo
|
||||||
|
files_to_copy="scripts "
|
||||||
|
files_to_copy+="include/spdk/pci_ids.h "
|
||||||
|
files_to_copy+="examples/nvme/hotplug/hotplug "
|
||||||
(
|
(
|
||||||
cd "$rootdir"
|
cd "$rootdir"
|
||||||
tar -cf - .
|
tar -cf - $files_to_copy
|
||||||
) | (ssh_vm 'tar -xf -')
|
) | (ssh_vm "tar -xf -")
|
||||||
timing_exit copy_repo
|
timing_exit copy_repo
|
||||||
|
|
||||||
devices_initialization
|
devices_initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user