diff --git a/script/testcommons.py b/script/testcommons.py index c7eb006..4a8d741 100644 --- a/script/testcommons.py +++ b/script/testcommons.py @@ -16,7 +16,7 @@ def sendFeedback(testPath, testName, DEVICE, returnString, testPassed): print_log(testName, DEVICE, 'Test passed: ' + str(testPassed)) print_log(testName, DEVICE, 'Return string: ' + returnString) ret = [testPath, DEVICE, returnString, testPassed] - set_return(ret) + return ret pippo = 'pippo' diff --git a/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py b/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py index 447f8ef..503fc2d 100644 --- a/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py +++ b/script/tests/tests/PS Tests/power-supply-A/power-supply-A.py @@ -6,7 +6,11 @@ import sys, inspect, os, traceback, testcommons def print_log(testName, DEVICE, text): testcommons.print_log(testName, DEVICE, text) - + +def sendFeedback(testPath, testName, DEVICE, returnString, testPassed): + ret = testcommons.sendFeedback(testPath, testName, DEVICE, returnString, testPassed) + set_return(ret) + def startTest(testName, DEVICE, params): #get the path of this script testcommons.print_pio()