diff --git a/script/local.py b/script/local.py index 651c724..9878985 100644 --- a/script/local.py +++ b/script/local.py @@ -115,12 +115,14 @@ class TestingTool: #self.log('Device: ' + self.deviceName) #self.log('Test name: ' + self.testName) #self.log('Test path: ' + self.testPath) + severity = 0 if testPassed: - self.log('**** TEST PASSED ****') + self.log('**** TEST PASSED ****',severity) else: - self.log('**** TEST FAILED ****',2) + severity = 2 + self.log('**** TEST FAILED ****',severity) if returnString != '': - self.log(returnString) + self.log(returnString,severity) ret = [self.testPath, self.deviceName, returnString, testPassed] set_return( ret)