Debian Codegraph @

commissioning/runplatform.csh

raw
1 #! /bin/csh
2 set d=/eng/ssb
3 if ( ! -d $d ) then
4 set prefix = $HOME/CentralStore/
5 else
6 set prefix = /
7 endif
8
9
10 #Define path containing tests
11 setenv PYTHONPATH $prefix/user/laidler/syn_pysyn/:{$PYTHONPATH}
12 setenv PYSYN_CDBS $prefix/grp/hst/cdbs/
13 #go to place
14 cd $prefix/eng/ssb/syn_pysyn/platform
15 #set up subdir for platform tests
16 set h = `hostname`
17 set h2 = `basename $h .stsci.edu`
18 mkdir $h2
19
20 #go there & run the test
21 cd $h2
22 nosetests platform_cases >& $h2.log