]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Print errors on stdout. Fixes #535417
authorJaap A. Haitsma <jaap@haitsma.org>
Thu, 29 May 2008 09:41:05 +0000 (09:41 +0000)
committerJaap A. Haitsma <jhaitsma@src.gnome.org>
Thu, 29 May 2008 09:41:05 +0000 (09:41 +0000)
2008-05-29  Jaap A. Haitsma  <jaap@haitsma.org>

* tests/testrunner.sh:
Print errors on stdout. Fixes #535417

svn path=/trunk/; revision=1479

ChangeLog
tests/testrunner.sh

index bcf89351eb2e37e134a1957d96a80f7c875552de..ab6e4736624ed5ea3df82910592ee8dc2bc98ebd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-29  Jaap A. Haitsma  <jaap@haitsma.org>
+
+       * tests/testrunner.sh:
+       Print errors on stdout. Fixes #535417
+
 2008-05-29  Jürg Billeter  <j@bitron.ch>
 
        * tests/arrays.vala:
index 7707b0ce09539195b37e7c134ac17baf98f9211b..8d7122a2f1f97219e2d5104e2b735771b9b5a8da 100755 (executable)
@@ -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