diff --git a/script/local.py b/script/local.py index 8f16a68..8cc9c8e 100644 --- a/script/local.py +++ b/script/local.py @@ -112,7 +112,8 @@ class TestingTool: self.log('**** TEST PASSED ****') else: self.log('**** TEST FAILED ****') - self.log('Return message: ' + returnString) + if returnString != '': + self.log(returnString) ret = [self.testPath, self.deviceName, returnString, testPassed] set_return( ret) diff --git a/script/tests/tests.properties b/script/tests/tests.properties index d0cd0a2..f85a64f 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -1,5 +1,5 @@ #TestingList for pshell: configuration properties -#Tue Oct 17 16:30:53 CEST 2017 +#Wed Oct 18 09:16:48 CEST 2017 customPanel= showEnabledTestsOnly=true listFilter=rps-test diff --git a/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py b/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py index f69ab22..ccaccd2 100644 --- a/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py +++ b/script/tests/tests/RPS Tests Betriebsmode/Betriebsmode/Betriebsmode.py @@ -88,7 +88,7 @@ def startTest(testName, DEVICE, params): ilk.masterReset() ilk.setInterlockMode(mode) # set up connection to channels. "type" of data can be "d" (= double), "l" (= long). - rpsChannel = Channel(channel , type='d') + #rpsChannel = Channel(channel , type='d') except: import traceback # prepare return information: return text: @@ -100,13 +100,12 @@ def startTest(testName, DEVICE, params): return # Closing channels: all channels that were opened with Channel() must be closed before exit: - rpsChannel.close() + #rpsChannel.close() # IMPORTANT: if the test was successful, write the report into the variables ret and success. # for example, write the following: - ret = "Example - Test successful, here some detail: ..." + ret = "" success = True - test.sendFeedback(ret, success) # once the test is finished, no need to do anything. The code below yours will do the rest. ################ End of Example ##########