mirror of https://github.com/ARMmbed/mbed-os.git
Host test plugins: run() function will just print result from test() function directly, not check boolean state from test
parent
b9cee9709e
commit
c0134d66fb
|
@ -251,7 +251,7 @@ class Test(TestResults):
|
|||
# Run test
|
||||
try:
|
||||
result = self.test()
|
||||
self.print_result(self.RESULT_SUCCESS if result else self.RESULT_FAILURE)
|
||||
self.print_result(result)
|
||||
except Exception, e:
|
||||
print str(e)
|
||||
self.print_result(self.RESULT_ERROR)
|
||||
|
|
Loading…
Reference in New Issue