Changeset 17592
- Timestamp:
- May 8, 2008, 1:47:50 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/simtest.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/simtest.pro
r17575 r17592 4 4 if ($0 != 4) 5 5 echo "USAGE: simtest (dbname) (hostname) (init)" 6 echo " if (init) == 1, recreate and inject the images" 6 echo " if (init) == 0, just run the analysis tasks" 7 echo " if (init) == 1, (re)create the database and (re)inject the images" 8 echo " if (init) == 2, restart completely from scratch" 7 9 break 8 10 end … … 11 13 $hostname = $2 12 14 13 if ($3 == 1)15 if ($3 > 0) 14 16 # XXX this will fail and exit the script if the db does not exist or is old... 15 17 exec pxadmin -delete -dbname $dbname … … 18 20 exec pxadmin -create -dbname $dbname 19 21 20 # the labels "wait" and "proc" are special names used in automate.pro 21 exec ppSimSequence basic.simtest.config basic.simtest.mkimages basic.simtest.inject -path raw -workdir work -dbname $dbname -label wait 22 exec source basic.simtest.mkimages 22 if ($3 == 2) 23 # the labels "wait" and "proc" are special names used in automate.pro 24 exec ppSimSequence basic.simtest.config basic.simtest.mkimages basic.simtest.inject -path raw -workdir work -dbname $dbname -label wait 25 exec source basic.simtest.mkimages 26 end 27 28 exec chiptool -dbname $dbname -block -label wait 23 29 exec source basic.simtest.inject 24 30 end
Note:
See TracChangeset
for help on using the changeset viewer.
