| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <8D00C32549556B4E977F81DBC24E985DC744@crtsmail1.technol_exch.corp.riotinto.org> |
| From: | "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com> |
| To: | "'gcc-patches AT gcc DOT gnu DOT org'" <gcc-patches AT gcc DOT gnu DOT org> |
| Cc: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | [PATCH] Prevent g++ testsuite crahing on cygwin |
| Date: | Thu, 15 Mar 2001 23:14:33 -0000 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2650.21) |
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 DOT Billinghurst AT riotinto DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |