This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
[PATCH] Prevent g++ testsuite crahing on cygwin
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Subject: [PATCH] Prevent g++ testsuite crahing on cygwin
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Thu, 15 Mar 2001 23:14:33 -0000
- Cc: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
The g++ testsuite fails on cygwin. The root cause is a bug in
old-dejagnu.exp, where it attempts to delete any output generated when the
test case is executed, in addition to deleting the executable. See
http://gcc.gnu.org/ml/gcc-bugs/2001-03/msg00453.html.
With this patch, the g++ testsuite works on NT4/cygwin. Bootstrapped 3.0
branch on cygwin and irix6.5
2001-03-15 David Billinghurst (David.Billinghurst@riotinto.com)
* lib/old-dejagnu.exp: Don't try and delete output from executable
Index: old-dejagnu.exp
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/lib/old-dejagnu.exp,v
retrieving revision 1.22
diff -u -r1.22 old-dejagnu.exp
--- old-dejagnu.exp 2001/02/08 02:29:38 1.22
+++ old-dejagnu.exp 2001/03/15 23:13:15
@@ -574,9 +574,9 @@
}
$status "$name $pattern Execution test"
}
+ } else {
+ verbose "deleting $output"
+ remote_file build delete $output
}
-
- verbose "deleting $output"
- remote_file build delete $output
return 0
}
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple