2004-03-26 Ben Maurer <bmaurer@users.sourceforge.net>
authorBen Maurer <benm@mono-cvs.ximian.com>
Fri, 26 Mar 2004 18:39:17 +0000 (18:39 -0000)
committerBen Maurer <benm@mono-cvs.ximian.com>
Fri, 26 Mar 2004 18:39:17 +0000 (18:39 -0000)
* do-tests.pl: i think this fixes the problem with
tests that have comp options alway passing
* mcs-expect*: update for above.

svn path=/trunk/mcs/; revision=24642

mcs/errors/ChangeLog
mcs/errors/do-tests.pl
mcs/errors/mcs-expect-no-error
mcs/errors/mcs-expect-wrong-error

index d3393a65617cb62ab3d14c413ed79d4b499c39a6..ab316db665609b21da1f5214ca237105531846b3 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-26 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * do-tests.pl: i think this fixes the problem with
+       tests that have comp options alway passing
+       * mcs-expect*: update for above.
+
 2004-03-25  Sebastien Pouliot  <sebastien@ximian.com>
 
        * mcs-expect-no-errors: Removed cs1548 and cs1458-2.cs (fixed #55364).
index 94e878bd31b243f712c4b822786035413b76e999..874dc008add5081218668b07237ac6af514a97b4 100755 (executable)
@@ -71,7 +71,8 @@ foreach (glob ($files)) {
        print "$_...";
        my ($error_number) = (/[a-z]*(\d+)(-\d+)?\.cs/);
        my $options = `fgrep "// Compiler options:" $_ | sed -e 's/\\/\\/ Compiler options://'`;
-       system "$compile $_ --expect-error $error_number $options > /dev/null";
+       chomp $options;
+       system "$compile $options $_ --expect-error $error_number > /dev/null";
        
        exit 1 if $? & 127;
        
index 157a6237e5d4b93cd9b9dacc2997e784699327c8..0ca95b50af53edc8be819442026434d9c5fa8b85 100644 (file)
@@ -31,3 +31,4 @@ cs0619.cs
 cs3002-1.cs
 cs3002-2.cs
 cs3005.cs
+cs3012.cs
index 5701d388ef4a5987f018406074e202ac1f6338fe..21c066e97a7409dff5a554cbb0ee06f12ac13c19 100644 (file)
@@ -37,14 +37,26 @@ cs0199.cs
 cs0200.cs
 cs0201.cs
 cs0202.cs
+cs0211.cs
+cs0211.cs
+cs0213.cs
+cs0213.cs
+cs0214-2.cs
+cs0214-2.cs
 cs0217.cs
 cs0229-2.cs
 cs0230.cs
 cs0231.cs
+cs0233.cs
+cs0233.cs
 cs0234.cs
 cs0239.cs
 cs0241.cs
+cs0244.cs
+cs0244.cs
 cs0245.cs
+cs0247.cs
+cs0247.cs
 cs0248.cs
 cs0249.cs
 cs0250.cs
@@ -91,6 +103,8 @@ cs0611.cs
 cs0654.cs
 cs0663.cs
 cs0673.cs
+cs0676.cs
+cs0676.cs
 cs1001.cs
 cs1510-2.cs
 cs1513.cs
@@ -103,6 +117,20 @@ cs1662.cs
 cs1667.cs
 cs1676.cs
 cs1678.cs
+cs1900.cs
+cs1900.cs
+cs1901.cs
+cs1901.cs
+cs1904.cs
+cs1904.cs
+cs2007.cs
+cs2007.cs
+cs2016.cs
+cs2016.cs
+cs2017.cs
+cs2017.cs
+cs2019.cs
+cs2019.cs
 cs3001-1.cs
 cs3001-2.cs
 cs3001-3.cs
@@ -110,6 +138,8 @@ cs3001-4.cs
 cs3001-5.cs
 cs3001-6.cs
 cs3001-7.cs
+cs3001-8.cs
+cs3001-8.cs
 cs3001-9.cs
 cs3001.cs
 cs3002-10.cs
@@ -130,6 +160,8 @@ cs3005-12.cs
 cs3005-13.cs
 cs3005-14.cs
 cs3005-15.cs
+cs3005-16.cs
+cs3005-16.cs
 cs3005-17.cs
 cs3005-18.cs
 cs3005-19.cs
@@ -164,6 +196,8 @@ cs3009.cs
 cs3010.cs
 cs3011-1.cs
 cs3011.cs
+cs3013.cs
+cs3013.cs
 cs3014-1.cs
 cs3014-2.cs
 cs3014-3.cs