From cc91de3dd8ff22c675e648b65c07cd99de7d2c5d Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 20 Oct 2017 10:00:33 +0200 Subject: [PATCH] Closedown --- script/local.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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)