vala r1479 - in trunk: . tests
- From: jhaitsma svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1479 - in trunk: . tests
- Date: Thu, 29 May 2008 09:41:05 +0000 (UTC)
Author: jhaitsma
Date: Thu May 29 09:41:05 2008
New Revision: 1479
URL: http://svn.gnome.org/viewvc/vala?rev=1479&view=rev
Log:
2008-05-29 Jaap A. Haitsma <jaap haitsma org>
* tests/testrunner.sh:
Print errors on stdout. Fixes #535417
Modified:
trunk/ChangeLog
trunk/tests/testrunner.sh
Modified: trunk/tests/testrunner.sh
==============================================================================
--- trunk/tests/testrunner.sh (original)
+++ trunk/tests/testrunner.sh Thu May 29 09:41:05 2008
@@ -45,11 +45,15 @@
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 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]