aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2016-01-25 10:34:27 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-01-25 11:09:20 +0000
commitda081ab2603eb34baf7d7fe7b61f681ef15d865e (patch)
tree52144f7a175ed5f953a6b4356998884f1673ab11 /testcases
parente840131eef8e493a1b0a4bd4ed2885c958b481f9 (diff)
report: create test report for all executed TCs
Every testcase generates report with its results into separate file. It is required to merge all partial reports into final overall report for whole set of TCs executed by VSPERF. Hugepages are mounted also for TestPMD packet forwarder. Change-Id: Iaa1ab4e08d1637106da804e06b7f30100d609cd6 JIRA: VSPERF-181 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'testcases')
-rw-r--r--testcases/testcase.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index 9c755ea7..d470d951 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -251,7 +251,9 @@ class TestCase(object):
"""
# hugepages are needed by DPDK and Qemu
if not self._hugepages_mounted and \
- (self.deployment.count('v') or S.getValue('VSWITCH').lower().count('dpdk')):
+ (self.deployment.count('v') or \
+ S.getValue('VSWITCH').lower().count('dpdk') or \
+ self._vswitch_none):
hugepages.mount_hugepages()
self._hugepages_mounted = True