Closedown
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Tue Aug 29 11:22:40 CEST 2017
|
||||
#Tue Aug 29 11:25:02 CEST 2017
|
||||
customPanel=
|
||||
showEnabledTestsOnly=true
|
||||
listFilter=test-bx84
|
||||
|
||||
@@ -76,6 +76,7 @@ def startTest(testName, DEVICE, params):
|
||||
delay = float(test.getParam('delay')) ; centre = float(test.getParam('centre')) ; moveAround = float(test.getParam('moveAround')) ; steps = float(test.getParam('steps')) ;
|
||||
except:
|
||||
# test failed, write the report into the variables ret and success and send feedback:
|
||||
import traceback
|
||||
ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
@@ -121,6 +122,7 @@ def startTest(testName, DEVICE, params):
|
||||
pv_motor_val = Channel(test.getDeviceName() + ':ai' , type='d')
|
||||
except:
|
||||
# prepare return information: return text:
|
||||
import traceback
|
||||
ret = 'Unable to create channel - ' + traceback.format_exc()
|
||||
# prepare return information: return success:
|
||||
success = False
|
||||
|
||||
Reference in New Issue
Block a user