Closedown
This commit is contained in:
@@ -33,7 +33,7 @@ def startTest(testName, DEVICE, params):
|
||||
ActualI = Channel(DEVICE + ':Actual-IA', type = 'd')
|
||||
#ActualI = Channel('pw84:ai', type = 'd')
|
||||
except:
|
||||
sendFeedback(testPath, DEVICE, 'Unable to create channel - ' + traceback.format_exc(), False)
|
||||
sendFeedback(testPath, testName, DEVICE, 'Unable to create channel - ' + traceback.format_exc(), False)
|
||||
#raise Exception('Unable to create channel - ' + traceback.format_exc())
|
||||
return
|
||||
|
||||
@@ -93,11 +93,12 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#prepare and send feedback to calling tool
|
||||
def sendFeedback(testPath, testName, DEVICE, returnString, testPassed):
|
||||
print 'Test path: ' + testPath
|
||||
print 'Test name: ' + testName
|
||||
print 'Device: ' + DEVICE
|
||||
print 'Test passed: ' + str(testPassed)
|
||||
print 'Return string: ' + returnString
|
||||
print_log(testName, DEVICE, 'End of test. Result:')
|
||||
print_log(testName, DEVICE, 'Test path: ' + testPath)
|
||||
print_log(testName, DEVICE, 'Test name: ' + testName )
|
||||
print_log(testName, DEVICE, 'Device: ' + DEVICE)
|
||||
print_log(testName, DEVICE, 'Test passed: ' + str(testPassed))
|
||||
print_log(testName, DEVICE, 'Return string: ' + returnString)
|
||||
ret = [testPath, DEVICE, returnString, testPassed]
|
||||
set_return(ret)
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ def startTest(testName, DEVICE, params):
|
||||
ActualIA = Channel(DEVICE + ':Actual-IB', type = 'd')
|
||||
#ActualIA = Channel('pw84:ai', type = 'd')
|
||||
except:
|
||||
sendFeedback(testPath, DEVICE, 'Unable to create channel - ' + traceback.format_exc(), False)
|
||||
sendFeedback(testPath, testName, DEVICE, 'Unable to create channel - ' + traceback.format_exc(), False)
|
||||
#raise Exception('Unable to create channel - ' + traceback.format_exc())
|
||||
return
|
||||
#Init
|
||||
|
||||
Reference in New Issue
Block a user