Changeset 17577 for trunk/ippTasks/automate.pro
- Timestamp:
- May 8, 2008, 11:01:50 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/automate.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/automate.pro
r16610 r17577 3 3 # example automation stage 4 4 # automate METADATA 5 # name STR DARK 6 # check STR "detselect -search -inst SIMTEST -det_type BIAS -dbname eamtest" 7 # launch STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type DARK -select_exp_type DARK -dbname eamtest" 5 # name STR DARK 6 # check STR "detselect -search -inst SIMTEST -det_type BIAS -dbname eamtest" 7 # ncheck S32 1 8 # launch STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type DARK -select_exp_type DARK -dbname eamtest" 9 # block STR "dettool -runs -active -det_type DARK -dbname eamtest" 8 10 # END 9 11 … … 15 17 # DONE (action finished) 16 18 17 # XXX since the state is ephemeral, any stages for which the prereq18 # exists will be re-launched every time this tasks is loaded in19 # pantasks. We can add a 'block' stage to test if a given stage has20 # already been performed or not...21 22 19 macro load.automate 23 if ($0 != 2)24 echo "USAGE: load.automate (filename) "20 if ($0 != 3) 21 echo "USAGE: load.automate (filename) (dbname)" 25 22 break 26 23 end 27 24 queueload tmp -x "cat $MODULES:0/$1" 25 26 ## interpolate standard values 27 queuesubstr tmp @DBNAME@ $2 28 28 29 ipptool2book tmp automate -key name -uniq -setword pantaskState INIT.BLOCK 29 30 queuedelete tmp … … 219 220 end 220 221 222 book getword automate $pageName ncheck -var Ncheck 223 if ("$Ncheck" == "NULL") 224 $Ncheck = 1 225 end 221 226 book npages tmpCheck -var Npage 222 if ($Npage == 0)227 if ($Npage < $Ncheck) 223 228 if ($VERBOSE >= 2) 224 229 echo "$pageName not ready for LAUNCH"
Note:
See TracChangeset
for help on using the changeset viewer.
