summaryrefslogtreecommitdiffstats
path: root/testcases/testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r--testcases/testcase.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index ff1247fc..7c935792 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -309,8 +309,10 @@ class TestCase(object):
# copy sources into shared dir only if neccessary
if 'testpmd' in self.guest_loopback or 'l2fwd' in self.guest_loopback:
try:
+ # always use DPDK vhost user version inside VM, so results are not
+ # affected by different testpmd behavior inside VM
tasks.run_task(['rsync', '-a', '-r', '-l', r'--exclude="\.git"',
- os.path.join(S.getValue('RTE_SDK'), ''),
+ os.path.join(S.getValue('RTE_SDK_USER'), ''),
os.path.join(guest_dir, 'DPDK')],
self._logger,
'Copying DPDK to shared directory...',