IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8754


Ignore:
Timestamp:
Sep 6, 2006, 2:34:02 PM (20 years ago)
Author:
jhoblitt
Message:

run tests with -o verbose

Location:
trunk/ippTools/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/scripts/dettest.sh

    r8732 r8754  
    11#!//bin/sh
     2
     3set -o verbose
    24
    35./p0test.sh || exit 1
    46
    5 echo "./dettool -definebyquery -det_type flat"
    67./dettool -definebyquery -det_type flat || exit 1
    7 echo "./dettool -raw"
    88./dettool -raw || exit 1
    99
    1010for ID in `seq 0 3` ; do
    11     echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1"
    1211    ./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1
    1312done;
    1413
    1514for ID in `seq 0 3` ; do
    16     echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1"
    1715    ./dettool -addprocessed -det_id 1 -exp_id 11 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1
    1816done;
    1917
    20 echo "./dettool -tostack"
    2118./dettool -tostack || exit 1
    2219for ID in `seq 0 3` ; do
    23     echo "./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize"
    2420    ./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize || exit 1
    2521done;
    2622
    27 echo "./dettool -tonormalize"
    2823./dettool -tonormalize || exit 1
    2924for ID in `seq 0 3` ; do
    30     echo "./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345"
    3125    ./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345 || exit 1
    3226done;
    3327
    34 echo "./dettool -normstat"
    3528./dettool -normstat || exit 1
    3629for ID in `seq 0 3` ; do
    37     echo "./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID"
    3830    ./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID || exit 1
    3931done;
    4032
    41 echo "./dettool -toresid"
    4233./dettool -toresid || exit 1
    4334
    4435for ID in `seq 0 3` ; do
    45     echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID"
    4636    ./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1
    4737done;
    4838for ID in `seq 0 3` ; do
    49     echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID"
    5039    ./dettool -addresidimfile -det_id 1 -exp_id 11 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1
    5140done;
    5241
    53 echo "./dettool -toresidexp"
    5442./dettool -toresidexp || exit 1
    55 echo "./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2"
    5643./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2  || exit 1
    57 echo "./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2  -reject"
    5844./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2  -reject || exit 1
    5945
    60 echo "./dettool -residdetrun"
    6146./dettool -residdetrun || exit 1
    62 echo "./dettool -residexp"
    6347./dettool -residexp || exit 1
    64 exit
    65 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe"
    6648./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe || exit 1
    67 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject"
    6849./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject || exit 1
    69 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11"
    7050./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11 || exit 1
    71 echo "./dettool -residexp"
    7251./dettool -residexp || exit 1
    73 echo "./dettool -updatedetrun -det_id 1 -again"
    7452./dettool -updatedetrun -det_id 1 -again || exit 1
  • trunk/ippTools/scripts/regtest.sh

    r8732 r8754  
    11#!//bin/sh
     2
     3set -o verbose
    24
    35inject="./pxinject"
Note: See TracChangeset for help on using the changeset viewer.