diff options
author | Ben Maurer <benm@mono-cvs.ximian.com> | 2004-03-26 21:39:17 +0300 |
---|---|---|
committer | Ben Maurer <benm@mono-cvs.ximian.com> | 2004-03-26 21:39:17 +0300 |
commit | ef5149d209ef325edce10c635df97d5556b90ba7 (patch) | |
tree | 9dbf19cb4d6607cc9169d96e7fc7f427710060d3 /mcs/errors/do-tests.pl | |
parent | c4330b91862c6e4923a8719de3c289bcd6bb084f (diff) |
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.
svn path=/trunk/mcs/; revision=24642
Diffstat (limited to 'mcs/errors/do-tests.pl')
-rwxr-xr-x | mcs/errors/do-tests.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/errors/do-tests.pl b/mcs/errors/do-tests.pl index 94e878bd31b..874dc008add 100755 --- a/mcs/errors/do-tests.pl +++ b/mcs/errors/do-tests.pl @@ -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; |