[dts] [PATCH] Clear all buffers before every test suite
Yong Liu
yong.liu at intel.com
Tue Jul 14 08:19:05 CEST 2015
From: Marvin Liu <yong.liu at intel.com>
Signed-off-by: Marvin Liu <yong.liu at intel.com>
diff --git a/framework/dts.py b/framework/dts.py
index b9cd370..6e38cac 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -552,6 +552,9 @@ def execute_test_setup_all(test_case):
Execute suite setup_all function before cases.
"""
try:
+ # clear all previous output
+ test_case.dut.get_session_output(timeout=0.1)
+ test_case.tester.get_session_output(timeout=0.1)
test_case.set_up_all()
return True
except Exception:
--
1.9.3
More information about the dts
mailing list