SCM Repository
View of /trunk/rtest/scripts/run_sh.in
Parent Directory
|
Revision Log
Revision 1179 -
(download)
(annotate)
Tue May 10 22:56:32 2011 UTC (9 years, 8 months ago) by jhr
File size: 836 byte(s)
Tue May 10 22:56:32 2011 UTC (9 years, 8 months ago) by jhr
File size: 836 byte(s)
more scripting work
#!/bin/sh # # A script for running the Diderot regression tests. # # @configure_input@ # # set up the path so that we can find diderotc and unu # PATH=/bin:/usr/bin:@TEEM_DIR@/bin:@DIDEROT_BINDIR@ # this script should be run from the rtest directory # HERE=$(pwd) if [ ! -d $HERE/tests ] ; then echo "run script from rtest directory" exit 1 fi # get a list of all of the tests (one per directory) # TESTS=$(cd tests; ls) DATE=$( date +"%F-%H-%M-%S" ) for t in $TESTS ; do ( cd $t; echo -n "checking $t ..." >> $LOG diderotc $t.diderot if [ "$?" -eq "0" ] ; then echo -n " compile succeeded ..." >> $LOG ./$t if [ "$?" -eq "0" ] ; then echo -n " execution succeeded ..." >> $LOG ./assess.sh else echo " execution failed" >> $LOG fi else echo " compile failed" >> $LOG fi done
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |