Re: [RFA] Fix the spurious failures on H8/300 port.

Kazu Hirata <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
Hi,

I've committed the following patch to sources.redhat.com as approved
by Andrew Cagney.

Kazu Hirata

---

Attached is a patch to fix the spurious failures on H8/300 port that
occur when gcc's testsuite is run with dejagnu present on the host
system.

Without this patch, every single one of gcc's testcases fails.

H8's simulator can return error code appropriately.  Thus we don't
need a wrapper, testglue.c.

Tested by running the testsuite of gcc.  OK to apply?

Kazu Hirata

2003-01-31  Kazu Hirata  <[email protected]>

	* dejagnu/baseboards/h8300-sim.exp: Don't set
	needs_status_wrapper.

Index: h8300-sim.exp
===================================================================
RCS file: /cvs/src/src/dejagnu/baseboards/h8300-sim.exp,v
retrieving revision 1.2
diff -u -r1.2 h8300-sim.exp
--- h8300-sim.exp	21 Apr 2002 08:46:47 -0000	1.2
+++ h8300-sim.exp	15 Dec 2002 01:20:38 -0000
@@ -22,8 +22,6 @@
 # We only support newlib on this target.
 set_board_info cflags  "[newlib_include_flags]"
 set_board_info ldflags  "[newlib_link_flags]"
-# The simulator doesn't return exit statuses and we need to indicate this.
-set_board_info needs_status_wrapper  1
 set_board_info uses_underscores 1
 
 # There's no support for argument-passing.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.