IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2013, 11:35:03 AM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130419
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419

  • branches/eam_branches/ipp-20130419/ippToPsps

  • branches/eam_branches/ipp-20130419/ippToPsps/test/fulltest.sh

    r35417 r35554  
    11#!/bin/csh -f
     2
     3chmod +x *.dvo *.sh
    24
    35# a bit crude : get the datadir path by interpollation of the PATH element for psconfig
     
    2325set objectbatch  = 1
    2426
    25 set args    = ""
    26 
    27 while ("$1" != "")
    28  switch ("$1")
     27set targ = ($argv)
     28set args = ""
     29
     30while ($#targ)
     31 switch ("$targ[1]")
     32  case -h
     33  case -help
     34    echo "USAGE: fulltest.sh [-XX] [+XX]"
     35    echo " -XX : turn off features"
     36    echo " +XX : turn on features"
     37    echo "  features: all, mkgpc1, initdb, initscratch, initbatch, camera, stack, object"
     38    exit 2
     39  case -all
     40    set mkgpc1       = 0
     41    set initdb       = 0
     42    set initscratch  = 0
     43    set initbatch    = 0
     44    set camqueue     = 0
     45    set cambatch     = 0
     46    set stackqueue   = 0
     47    set stackbatch   = 0
     48    set objectqueue  = 0
     49    set objectbatch  = 0
     50    breaksw;
    2951  case -mkgpc1
    3052    set mkgpc1 = 0
     
    5274    breaksw;
    5375  default:
    54     set args=($args $1);
     76    set args=($args $targ[1]);
    5577    breaksw;
    5678  endsw
    57   shift
     79  shift targ
    5880end
     81
     82set targ = ($args)
     83set args = ""
     84
     85while ($#targ)
     86 switch ("$targ[1]")
     87  case +all
     88    set mkgpc1       = 1
     89    set initdb       = 1
     90    set initscratch  = 1
     91    set initbatch    = 1
     92    set camqueue     = 1
     93    set cambatch     = 1
     94    set stackqueue   = 1
     95    set stackbatch   = 1
     96    set objectqueue  = 1
     97    set objectbatch  = 1
     98    breaksw;
     99  case +mkgpc1
     100    set mkgpc1 = 1
     101    breaksw;
     102  case +initdb
     103    set initdb = 1
     104    breaksw;
     105  case +initscratch
     106    set initscratch = 1
     107    breaksw;
     108  case +initbatch
     109    set initbatch = 1
     110    breaksw;
     111  case "+camera"
     112    set camqueue = 1
     113    set cambatch = 1
     114    breaksw;
     115  case +stack
     116    set stackqueue = 1
     117    set stackbatch = 1
     118    breaksw;
     119  case +object
     120    set objectqueue = 1
     121    set objectbatch = 1
     122    breaksw;
     123  default:
     124    set args=($args $targ[1]);
     125    breaksw;
     126  endsw
     127  shift targ
     128end
     129
     130if ($args[1] != "") then
     131    echo "USAGE: fulltest.sh [-XX] [+XX]"
     132    echo " -XX : turn off features"
     133    echo " +XX : turn on features"
     134    echo "  features: all, mkgpc1, initdb, initscratch, initbatch, camera, stack, object"
     135    exit 2
     136endif
    59137
    60138set stackqueuename = 0
Note: See TracChangeset for help on using the changeset viewer.