[dts] [PATCH] framework test_case: do not rerun failed case without rerun option
Marvin Liu
yong.liu at intel.com
Thu Jul 27 03:53:37 CEST 2017
Signed-off-by: Marvin Liu <yong.liu at intel.com>
diff --git a/framework/test_case.py b/framework/test_case.py
index 8cddfde..9eed14d 100644
--- a/framework/test_case.py
+++ b/framework/test_case.py
@@ -340,7 +340,7 @@ class TestCase(object):
for i in range(self.tester.re_run_time + 1):
ret = self.execute_test_case(case_obj)
- if ret is False:
+ if ret is False and self.tester.re_run_time:
for dutobj in self.duts:
dutobj.get_session_output(timeout = 0.5 * (i + 1))
self.tester.get_session_output(timeout = 0.5 * (i + 1))
--
1.9.3
More information about the dts
mailing list