From: Jaap A. Haitsma Date: Thu, 29 May 2008 09:41:05 +0000 (+0000) Subject: Print errors on stdout. Fixes #535417 X-Git-Tag: VALA_0_3_3~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbd82efdce456eed787ef73358ea4a0332f3afb;p=thirdparty%2Fvala.git Print errors on stdout. Fixes #535417 2008-05-29 Jaap A. Haitsma * tests/testrunner.sh: Print errors on stdout. Fixes #535417 svn path=/trunk/; revision=1479 --- diff --git a/ChangeLog b/ChangeLog index bcf89351e..ab6e47366 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-29 Jaap A. Haitsma + + * tests/testrunner.sh: + Print errors on stdout. Fixes #535417 + 2008-05-29 Jürg Billeter * tests/arrays.vala: diff --git a/tests/testrunner.sh b/tests/testrunner.sh index 7707b0ce0..8d7122a2f 100755 --- a/tests/testrunner.sh +++ b/tests/testrunner.sh @@ -45,11 +45,15 @@ do testbuild=`basename "$testsrc"` if ! $VALAC -C --vapidir "$vapidir" --pkg gee-1.0 --basedir $topsrcdir -d $topbuilddir $testsrc.vala > $testbuild.err 2>&1 then + echo "ERROR: Compiling" $testcasesource + cat $testbuild.err CODE=1 continue fi if ! $CC $CFLAGS $testbuild.c $(pkg-config --cflags --libs gobject-2.0) -o $testbuild $LDLIBS > $testbuild.err 2>&1 then + echo "ERROR: Compiling" $testbuild.c + cat $testbuild.err CODE=1 continue fi @@ -57,6 +61,8 @@ do then rm $testbuild.c $testbuild.h $testbuild$exe $testbuild.err else + echo "ERROR: test failed. This is the difference between" $testbuild.exp "and" $testbuild.err + diff -u $testbuild.exp $testbuild.err CODE=1 fi done