diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-03-22 13:21:05 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-03-26 10:37:33 +0000 |
commit | 095b162010491a4759e05ca46f0e5a47e8ace141 (patch) | |
tree | f47fcd74d591a9532815147e211e37c1d19fdb23 /tests/vpp/perf/__init__.robot | |
parent | 3458e725729098a6c10f68ec4a05d7256984bcdc (diff) |
Optimize Qemu installation to speed up vhost tests
Currently Qemu is being installed if there is a change of qsz parameter
between tests/suites. Qemu is installed always into the same directory. This
patch changes the default behavior to install qemu over and install
pathced version to separate directory. It also disables force install.
Change-Id: I0d7493a02b026a6ae4a5ea8bacf54656de9db567
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/perf/__init__.robot')
-rw-r--r-- | tests/vpp/perf/__init__.robot | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 742c5804ce..5e47502d54 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -34,10 +34,9 @@ | | ... | - perf_pdr_loss_acceptance - Loss acceptance treshold | | ... | - perf_pdr_loss_acceptance_type - Loss acceptance treshold type | | ... | - perf_vm_image - Guest VM disk image -| | ... | - perf_qemu_bin - Path to QEMU binary -| | ... | - perf_qemu_qsz - QEMU virtio queue size +| | ... | - perf_qemu_path - Path prefix to QEMU binary | | ... | - use_tuned_cfs - Switch to set scheduler policy -| | ... | - qemu_built - Information if QEMU build is already prepared +| | ... | - qemu_build - Whether Qemu will be built | | ... | - pkt_trace - Switch to enable packet trace for test | | ... | - plugins_to_disable - List of plugins to be disabled for test | | ... @@ -45,10 +44,9 @@ | | Set Global Variable | ${perf_pdr_loss_acceptance} | 0.5 | | Set Global Variable | ${perf_pdr_loss_acceptance_type} | percentage | | Set Global Variable | ${perf_vm_image} | /var/lib/vm/csit-nested-1.7.img -| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0/bin/ -| | Set Global Variable | ${perf_qemu_qsz} | 1024 +| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0 | | Set Global Variable | ${use_tuned_cfs} | ${False} -| | Set Global Variable | ${qemu_built} | ${False} +| | Set Global Variable | ${qemu_build} | ${True} | | Set Global Variable | ${pkt_trace} | ${False} | | @{plugins_to_disable}= | Create List | | ... | acl_plugin.so |