* [dts] [PATCH] framework test_case: do not rerun failed case without rerun option
@ 2017-07-27 1:53 Marvin Liu
0 siblings, 0 replies; only message in thread
From: Marvin Liu @ 2017-07-27 1:53 UTC (permalink / raw)
To: dts; +Cc: Marvin Liu
Signed-off-by: Marvin Liu <yong.liu@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-27 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27 1:53 [dts] [PATCH] framework test_case: do not rerun failed case without rerun option Marvin Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).