[Nice-commit] tester run,1.7,1.8 Swing.test,1.2,1.3 Project,1.5,1.6 Flow4j.test,1.2,1.3
Brought to you by:
bonniot
From: <bo...@us...> - 2003-05-12 17:00:30
|
Update of /cvsroot/nice/tester In directory sc8-pr-cvs1:/tmp/cvs-serv7747 Modified Files: run Swing.test Project Flow4j.test Log Message: Retry the cvs export a few times, since sourceforge is hiccuping these days. Test can now also answer SKIP and IMPOSSIBLE. Index: run =================================================================== RCS file: /cvsroot/nice/tester/run,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** run 7 May 2003 15:29:12 -0000 1.7 --- run 12 May 2003 17:00:25 -0000 1.8 *************** *** 75,83 **** echo "======================" echo "" ! if $test; then ! echo "$testname OK" >> $config.res ! else ! echo "$testname FAILURE" >> $config.res ! fi done --- 75,93 ---- echo "======================" echo "" ! ! set +e ! $test ! code=$? ! set -e ! { ! echo -n "$testname " ! case "$code" in ! 0) echo "OK" ;; ! 1) echo "FAILURE" ;; ! 2) echo "SKIP" ;; ! 3) echo "IMPOSSIBLE" ;; ! *) echo "OTHER" ;; ! esac ! } >> $config.res done Index: Swing.test =================================================================== RCS file: /cvsroot/nice/tester/Swing.test,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Swing.test 26 Apr 2003 22:42:35 -0000 1.2 --- Swing.test 12 May 2003 17:00:25 -0000 1.3 *************** *** 2,8 **** if [ ! -r swing ]; then ! cvs -d:pserver:anonymous@$CVS_SOURCEFORGE:/cvsroot/nice export -rHEAD swing fi cd swing ! CLASSPATH=${NICE_JAR} ant clean-all compile-common --- 2,14 ---- if [ ! -r swing ]; then ! ! ../cvs swing || exit 3 ! fi + cd swing ! if ! CLASSPATH=${NICE_JAR} ant clean-all compile-common; then ! # The test failed ! exit 1 ! fi Index: Project =================================================================== RCS file: /cvsroot/nice/tester/Project,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Project 7 May 2003 09:50:51 -0000 1.5 --- Project 12 May 2003 17:00:25 -0000 1.6 *************** *** 5,10 **** if [ ! -r Nice ]; then ! cvs -d:pserver:anonymous@$CVS_SOURCEFORGE:/cvsroot/nice export -rHEAD Nice ! wget -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar fi --- 5,10 ---- if [ ! -r Nice ]; then ! ../cvs Nice || exit 3 ! wget -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar || exit 3 fi Index: Flow4j.test =================================================================== RCS file: /cvsroot/nice/tester/Flow4j.test,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Flow4j.test 28 Apr 2003 11:10:55 -0000 1.2 --- Flow4j.test 12 May 2003 17:00:25 -0000 1.3 *************** *** 5,8 **** --- 5,13 ---- set -e + if [ ${JDK_VERSION} ] && expr "${JDK_VERSION}" '<' 1.4.0 >/dev/null; then + echo "JDK 1.4 needed for the Flow4j test. Skipping." + exit 2 + fi + if [ ! -r flow4j ]; then if [ ! -r flow4j-src-0.5.tar.gz ]; then |