IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2013, 8:37:38 PM (14 years ago)
Author:
eugene
Message:

fix mysql issues with multirow inserts; update tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/test/mkcatdir.dvo

    r34922 r34936  
    3838    mkinput $offset:$i
    3939    exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time $i\:00:00 -radec $RA $DEC -type $1
    40     exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2
     40    exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    4141  end
    4242
    43   exec relphot -D CATDIR catdir.test r -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -update -nloop 10.0 >& /dev/null
     43  break -auto off
     44  echo dbadmin.sh delete localhost dvotest dvo dvo
     45  exec dbadmin.sh delete localhost dvotest dvo dvo
     46  break -auto on
    4447
    45   catdir catdir.test
    46   skyregion {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0}
     48  echo dbadmin.sh create localhost dvotest dvo dvo
     49  exec dbadmin.sh create localhost dvotest dvo dvo
    4750
    48   imextract time Mcal
     51  echo dvopsps -D CATDIR catdir.test -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -dbhost localhost -dbname dvotest -dbuser dvo -dbpass dvo
     52  exec dvopsps -D CATDIR catdir.test -region {$RA-1.0} {$RA+1.0} {$DEC-1.0} {$DEC+1.0} -dbhost localhost -dbname dvotest -dbuser dvo -dbpass dvo
    4953
    50   for i 0 $offset:n
    51     tapOK {abs(Mcal[$i] - Mcal[0] - $offset:$i) < 0.001} "Mcal $i"
    52   end
    53 
    54   exec rm test.cmf test.in.txt
    55   exec rm -r catdir.test
     54  # for i 0 $offset:n
     55  #   tapOK {abs(Mcal[$i] - Mcal[0] - $offset:$i) < 0.001} "Mcal $i"
     56  # end
    5657
    5758  tapDONE
Note: See TracChangeset for help on using the changeset viewer.