# HG changeset patch # User bellard # Date 1065347333 0 # Node ID 18347d6348fc44f4709a149d385f838768a769e9 # Parent 607339386741d9c38f21f1b2a8447417624c9e48 [project @ 2003-10-05 09:48:53 by bellard] update diff -r 607339386741 -r 18347d6348fc VERSION --- a/VERSION Sat Oct 04 21:29:04 2003 +0000 +++ b/VERSION Sun Oct 05 09:48:53 2003 +0000 @@ -1,1 +1,1 @@ -0.9.19 \ No newline at end of file +0.9.20 \ No newline at end of file diff -r 607339386741 -r 18347d6348fc gcctestsuite.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcctestsuite.sh Sun Oct 05 09:48:53 2003 +0000 @@ -0,0 +1,33 @@ +#!/bin/sh + +TESTSUITE_PATH=$HOME/gcc/gcc-3.2/gcc/testsuite/gcc.c-torture +TCC="./tcc -B. -I. -DNO_TRAMPOLINES" +rm -f tcc.sum tcc.log +nb_failed="0" + +for src in $TESTSUITE_PATH/compile/*.c ; do + echo $TCC -o /tmp/test.o -c $src + $TCC -o /tmp/test.o -c $src >> tcc.log 2>&1 + if [ "$?" == "0" ] ; then + result="PASS" + else + result="FAIL" + nb_failed=$[ $nb_failed + 1 ] + fi + echo "$result: $src" >> tcc.sum +done + +for src in $TESTSUITE_PATH/execute/*.c ; do + echo $TCC $src + $TCC $src >> tcc.log 2>&1 + if [ "$?" == "0" ] ; then + result="PASS" + else + result="FAIL" + nb_failed=$[ $nb_failed + 1 ] + fi + echo "$result: $src" >> tcc.sum +done + +echo "$nb_failed test(s) failed." >> tcc.sum +echo "$nb_failed test(s) failed."