Update of /cvsroot/nice/tester
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10396
Modified Files:
Project
Added Files:
Regression.test Testsuite.test
Log Message:
Separated testing from building
--- NEW FILE: Testsuite.test ---
#! /bin/sh
cd Nice
/usr/bin/time -o TIME make check > OUT
RES=$?
# print for the log
cat OUT
NUM_PREFIX="number of testcases: "
NUM=`tail -10 OUT | grep "$NUM_PREFIX"`
NUM=`expr match "$NUM" "$NUM_PREFIX"'\(.*\)'`
echo num_tests $NUM time `cat TIME` > ../METRICS
exit $RES
Index: Project
===================================================================
RCS file: /cvsroot/nice/tester/Project,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Project 24 Nov 2003 22:26:21 -0000 1.9
--- Project 7 May 2004 08:54:37 -0000 1.10
***************
*** 6,11 ****
if [ ! -r Nice ]; then
../cvs Nice || exit 3
! wget -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar || exit 3
fi
! cd Nice && make universe
--- 6,16 ----
if [ ! -r Nice ]; then
../cvs Nice || exit 3
! wget --cache=no -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar || exit 3
fi
! # In benchmark mode, don't run the testsuite
! if [ "$CVS_DATE" ]; then
! cd Nice && make
! else
! cd Nice && make fixpoint && cp share/java/nice.jar external/nice-bootstrap.jar && make fixpoint
! fi
--- NEW FILE: Regression.test ---
#! /bin/sh
cd Nice
/usr/bin/time -o TIME make test > OUT
RES=$?
# print for the log
cat OUT
#NUM_PREFIX="number of testcases: "
#NUM=`tail -10 OUT | grep "$NUM_PREFIX"`
#NUM=`expr match "$NUM" "$NUM_PREFIX"'\(.*\)'`
echo time `cat TIME` > ../METRICS
exit $RES
|