IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2008, 2:55:23 PM (18 years ago)
Author:
eugene
Message:

adding simtest.basic.config, loading simtest config from modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/simtest.pro

    r17592 r17593  
    22
    33macro simtest
    4   if ($0 != 4)
    5     echo "USAGE: simtest (dbname) (hostname) (init)"
     4  if ($0 != 5)
     5    echo "USAGE: simtest (testroot) (dbname) (hostname) (init)"
    66    echo " if (init) == 0, just run the analysis tasks"
    77    echo " if (init) == 1, (re)create the database and (re)inject the images"
     
    1010  end
    1111
    12   $dbname = $1
    13   $hostname = $2
     12  $testroot = $1
     13  $dbname = $2
     14  $hostname = $3
    1415 
    15   if ($3 > 0)
     16  if ($4 > 0)
    1617    # XXX this will fail and exit the script if the db does not exist or is old...
    1718    exec pxadmin -delete -dbname $dbname
     
    2021    exec pxadmin -create -dbname $dbname
    2122
    22     if ($3 == 2)
     23    if ($4 == 2)
    2324      # 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
     25      exec ppSimSequence $MODULES:0/$testroot.config $testroot.mkimages $testroot.inject -path raw -workdir work -dbname $dbname -label wait
     26      exec source $testroot.mkimages
    2627    end
    2728
    2829    exec chiptool -dbname $dbname -block -label wait
    29     exec source basic.simtest.inject
     30    exec source $testroot.inject
    3031  end
    3132
Note: See TracChangeset for help on using the changeset viewer.