Files
ncs/script/tests/parallelize-tries.txt
boccioli_m 45202c5b09 Startup
2015-09-02 10:43:04 +02:00

26 lines
2.0 KiB
Plaintext

l1={'device':"PO2DV-NCS-VHQ1",'test':'power-supply-A','parameters':{}}
l2={'device':"PO2DV-NCS-LS",'test':'Motor Test 2','parameters':{}}
f1=str('.\\home\\script\\tests\\tests\\PS Tests\\power-supply-A\\power-supply-A.py')
f2=str('.\\home\\script\\tests\\tests\\Collimator Tests\\Motor Test 2\\Motor Test 2.py')
parallelize((run,(f1, sys.argv, l1)),(run,(f2, sys.argv, l2)))
run(str('.\\home\\script\\tests\\tests\\Collimator Tests\\Motor Test 2\\Motor Test 2.py'),sys.argv, locals={'device':"PO2DV-NCS-LS"})
parallelize((run,(str('.\\home\\script\\tests\\tests\\PS Tests\\power-supply-A\\power-supply-A.py'),sys.argv, locals={'parameters':'{}','test':'power-supply-A','device':'PO2DV-NCS-VHQ1','status':'false'})),(run,(str('.\\home\\script\\tests\\tests\\Collimator Tests\\Motor Test 2\\Motor Test 2.py'),sys.argv, locals={'parameters':'{repeatTimes={description=Repeat N times, value=1}, midPoint={description=Middle point A, value=41.0}, spanFromMidPoint={description=B steps around middle point A, value=2.0}}','test':'Motor Test 2','device':'PO2DV-NCS-LS','status':'false'})))
parallelize((run,(str('.\\home\\script\\tests\\tests\\Collimator Tests\\Motor Test 2\\Motor Test 2.py'),sys.argv, {'parameters':'{repeatTimes={description=Repeat N times, value=1}, midPoint={description=Middle point A, value=41.0}, spanFromMidPoint={description=B steps around middle point A, value=2.0}}','test':'Motor Test 2','device':'PO2DV-NCS-LS','status':'false'}),))
parallelize((run,(str('.\\home\\script\\tests\\tests\\PS Tests\\power-supply-A\\power-supply-A.py'),sys.argv, {'parameters':'{}','test':'power-supply-A','device':'PO2DV-NCS-VHQ1','status':'false'})),(run,(str('.\\home\\script\\tests\\tests\\Collimator Tests\\Motor Test 2\\Motor Test 2.py'),sys.argv, {'parameters':{'repeatTimes':{'description':'Repeat N times', 'value':1}, 'midPoint':{'description':'Middle point A', 'value':41.0}, 'spanFromMidPoint':{'description':'B steps around middle point A', 'value':2.0}},'test':'Motor Test 2','device':'PO2DV-NCS-LS','status':'false'})))