Set result "Succeed" for passed cases

pull/89/merge
He Yin Ling 2016-11-02 20:54:22 +08:00
rodzic e56b745527
commit 47910466ce
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -32,7 +32,7 @@ class UnitTest(PerformanceTCBase.PerformanceTCBase):
time.sleep(1) #wait for test to run before reading result
data += self.serial_read_data("UT1")
if re.search('[^0] Tests 0 F', data): #check that number of tests run != 0 and number of tests failed == 0
self.set_result("Success")
self.set_result("Succeed")
break
else:
self.set_result("Fail")