vala-tests r34 - trunk/tests/bugs
- From: malureau svn gnome org
- To: svn-commits-list gnome org
- Subject: vala-tests r34 - trunk/tests/bugs
- Date: Sat, 18 Oct 2008 20:47:48 +0000 (UTC)
Author: malureau
Date: Sat Oct 18 20:47:48 2008
New Revision: 34
URL: http://svn.gnome.org/viewvc/vala-tests?rev=34&view=rev
Log:
Add bug 436760 test
Added:
trunk/tests/bugs/436760.test
- copied, changed from r33, /trunk/tests/bugs/436011.test
trunk/tests/bugs/436760.vala
Modified:
trunk/tests/bugs/436011.test
trunk/tests/bugs/update.sh
Modified: trunk/tests/bugs/436011.test
==============================================================================
--- trunk/tests/bugs/436011.test (original)
+++ trunk/tests/bugs/436011.test Sat Oct 18 20:47:48 2008
@@ -19,7 +19,7 @@
TESTNAME=`basename $0 .test`
- $VALAC -o $TESTNAME $SRCDIR/$TESTNAME.vala -c -X -m64 -X -Wall -X -Werror -c $VALAFLAGS
+ $VALAC -o $TESTNAME $SRCDIR/$TESTNAME.vala -c -X -m64 -X -Wall -X -Werror $VALAFLAGS
if [ "$?" != "0" ] && [ -n ]; then
echo ""
Copied: trunk/tests/bugs/436760.test (from r33, /trunk/tests/bugs/436011.test)
==============================================================================
--- /trunk/tests/bugs/436011.test (original)
+++ trunk/tests/bugs/436760.test Sat Oct 18 20:47:48 2008
@@ -19,23 +19,23 @@
TESTNAME=`basename $0 .test`
- $VALAC -o $TESTNAME $SRCDIR/$TESTNAME.vala -c -X -m64 -X -Wall -X -Werror -c $VALAFLAGS
+ $VALAC -o $TESTNAME $SRCDIR/$TESTNAME.vala -c -C $VALAFLAGS
if [ "$?" != "0" ] && [ -n ]; then
echo ""
echo "*** WARNING: This vala test was expecting to fail ***"
echo ""
- echo "Visit bug: http://bugzilla.gnome.org/show_bug.cgi?id=436011"
+ echo "Visit bug: http://bugzilla.gnome.org/show_bug.cgi?id=436760"
exit 1
fi
-true || exit 1
+grep -q input_stream_ftp 436760.c || exit 1
if [ "xno" = "x1" -o "x$INTERACT" = "x1" ] ; then
G_DEBUG=fatal_warnings ./$TESTNAME $@
else
echo ""
[ "xno" = "x0" ] && echo "*** WARNING: This vala test is interactive and will not be run (try --interact) ***"
- [ "xno" = "xno" ] && rm -rf 436011.o
+ [ "xno" = "xno" ] && rm -rf 436760.o
fi
Added: trunk/tests/bugs/436760.vala
==============================================================================
--- (empty file)
+++ trunk/tests/bugs/436760.vala Sat Oct 18 20:47:48 2008
@@ -0,0 +1,4 @@
+class InputStreamFTP {
+ void test () {
+ }
+}
\ No newline at end of file
Modified: trunk/tests/bugs/update.sh
==============================================================================
--- trunk/tests/bugs/update.sh (original)
+++ trunk/tests/bugs/update.sh Sat Oct 18 20:47:48 2008
@@ -16,6 +16,7 @@
norun="
433290
436011
+436760
"
invalid="
@@ -84,7 +85,8 @@
[ "$test" = "434515" ] && VALAFLAGS="$VALAFLAGS -D WITH_TEST"
[ "$test" = "435848" ] && VALAFLAGS="$VALAFLAGS -X -Wall"
[ "$test" = "435854" ] && VALAFLAGS="$VALAFLAGS -C"
-[ "$test" = "436011" ] && VALAFLAGS="$VALAFLAGS -X -m64 -X -Wall -X -Werror -c"
+[ "$test" = "436011" ] && VALAFLAGS="$VALAFLAGS -X -m64 -X -Wall -X -Werror"
+[ "$test" = "436760" ] && TESTEXPECT="grep -q input_stream_ftp 436760.c" VALAFLAGS="$VALAFLAGS -C"
BUGZILLA="http://bugzilla.gnome.org/show_bug.cgi?id=$test"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]