aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/performance.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/performance.py')
-rw-r--r--testcases/performance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/performance.py b/testcases/performance.py
index a4769a28..240d04a9 100644
--- a/testcases/performance.py
+++ b/testcases/performance.py
@@ -34,5 +34,5 @@ class PerformanceTestCase(TestCase):
def run_report(self):
super(PerformanceTestCase, self).run_report()
- if S.getValue('mode') != 'trafficgen-off':
+ if self._tc_results:
report.generate(self._output_file, self._tc_results, self._collector.get_results(), self._type)