This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite fixes


Another one.

	* windres/windres.exp: Return unsupported rather than fail if
	windows.h not found.

Index: binutils/testsuite/binutils-all/windres/windres.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/windres/windres.exp,v
retrieving revision 1.10
diff -u -p -r1.10 windres.exp
--- binutils/testsuite/binutils-all/windres/windres.exp	5 Jul 2007 16:54:45 -0000	1.10
+++ binutils/testsuite/binutils-all/windres/windres.exp	9 Aug 2007 01:40:59 -0000
@@ -88,7 +88,11 @@ foreach res $res_list {
     if ![string match "" $err] then {
 	send_log "$err\n"
 	verbose "$err" 1
-	fail "windres/$broot (parse)"
+	if [string match "*windows.h: No such file*" $err] then {
+	    unsupported "windres/$broot (parse)"
+	} else {
+	    fail "windres/$broot (parse)"
+	}
 	continue
     }
     pass "windres/$broot (parse)"

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]