Closedown
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Wed Jan 13 14:55:50 CET 2016
|
||||
#Wed Jan 13 15:10:45 CET 2016
|
||||
customPanel=
|
||||
showEnabledTestsOnly=true
|
||||
showEnabledTestsOnly=
|
||||
listFilter=LabTests2
|
||||
|
||||
@@ -9,14 +9,14 @@ def startTest(testName, DEVICE, params):
|
||||
#by default, assume the test failed
|
||||
ret = 'Test failed'
|
||||
success = False
|
||||
#plot name to be given to the scan. Use: scan.setPlotName(plotName)
|
||||
plotName = DEVICE + ' - ' + testName
|
||||
#put the whole custom code under try/catch
|
||||
try:
|
||||
#get the path of this script
|
||||
testPath = inspect.getfile(inspect.currentframe())
|
||||
#init the testing tool class. It can be sued in the following ways:
|
||||
test = TestingTool(testName, testPath, DEVICE, params)
|
||||
#plot name to be given to the scan. Use: scan.setPlotName(plotName)
|
||||
plotName = test.getPlotName()
|
||||
|
||||
######### WRITE YOUR CODE HERE BELOW #############
|
||||
|
||||
|
||||
Reference in New Issue
Block a user