Changeset 38823 for trunk/ippToPsps/test
- Timestamp:
- Oct 8, 2015, 2:07:30 PM (11 years ago)
- Location:
- trunk/ippToPsps/test
- Files:
-
- 2 edited
-
fulltest.sh (modified) (2 diffs)
-
mkgpc1data.dvo (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/fulltest.sh
r37246 r38823 156 156 # does the database already exist? 157 157 # XXX this command will blow away an existing database!! 158 mysql -h localhost -u dvo -pdvo -e "create database i pptopsps_test"159 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 158 mysql -h localhost -u dvo -pdvo -e "create database if not exists ipptopsps_test" || exit 3 159 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql || exit 2 160 160 endif 161 161 … … 166 166 167 167 # create the database (ignore failure if it already exists) 168 mysql -h localhost -u dvo -pdvo -e "drop database i pptopsps_test_scratch"168 mysql -h localhost -u dvo -pdvo -e "drop database if exists ipptopsps_test_scratch" 169 169 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch" 170 170 ippjython setupScratchDb.py -test < /dev/null -
trunk/ippToPsps/test/mkgpc1data.dvo
r37246 r38823 147 147 148 148 mkinput $offset $rawfile 149 echo mkcmf -photcode SIMTEST.r.Chip -no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 149 150 exec mkcmf -photcode SIMTEST.r.Chip -no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 150 151
Note:
See TracChangeset
for help on using the changeset viewer.
