vala-tests r16 - trunk/tests/bugs



Author: malureau
Date: Sat Oct 18 00:40:58 2008
New Revision: 16
URL: http://svn.gnome.org/viewvc/vala-tests?rev=16&view=rev

Log:
Expect true when no expectation

Modified:
   trunk/tests/bugs/428368.test
   trunk/tests/bugs/433288.test
   trunk/tests/bugs/update.sh

Modified: trunk/tests/bugs/428368.test
==============================================================================
--- trunk/tests/bugs/428368.test	(original)
+++ trunk/tests/bugs/428368.test	Sat Oct 18 00:40:58 2008
@@ -21,7 +21,7 @@
 
 $VALAC  --pkg gtk+-2.0 -o $TESTNAME $SRCDIR/$TESTNAME.vala  $VALAFLAGS
 
- || exit 1
+true || exit 1
 
 if [ "x1" = "x1" -o "x$INTERACT" = "x1" ] ; then
   G_DEBUG=fatal_warnings ./$TESTNAME  $@

Modified: trunk/tests/bugs/433288.test
==============================================================================
--- trunk/tests/bugs/433288.test	(original)
+++ trunk/tests/bugs/433288.test	Sat Oct 18 00:40:58 2008
@@ -21,7 +21,7 @@
 
 $VALAC  -o $TESTNAME $SRCDIR/$TESTNAME.vala  $VALAFLAGS
 
- || exit 1
+true || exit 1
 
 if [ "x1" = "x1" -o "x$INTERACT" = "x1" ] ; then
   G_DEBUG=fatal_warnings ./$TESTNAME  $@

Modified: trunk/tests/bugs/update.sh
==============================================================================
--- trunk/tests/bugs/update.sh	(original)
+++ trunk/tests/bugs/update.sh	Sat Oct 18 00:40:58 2008
@@ -54,7 +54,7 @@
   [ $nr = $test ] && RUN=no VALAFLAGS="$VALAFLAGS -c"
 done
 
-TESTEXPECT=
+TESTEXPECT=true
 [ "$test" = "433290" ] && TESTEXPECT="! grep -i my 433290.h" VALAFLAGS="$VALAFLAGS -C"
 
 cat >$test.test <<EOF



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]