aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/windres
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-08-09 11:43:03 +0000
committerAlan Modra <amodra@gmail.com>2007-08-09 11:43:03 +0000
commit1e1c6a43f8cc11e8d7d3809074d762c5a0a8d62e (patch)
tree58d0740d1bf47c6733f6d446230b4c1844d46515 /binutils/testsuite/binutils-all/windres
parent151fab348eba0eef25e3faa7acbafed881f9b6e5 (diff)
downloadgdb-1e1c6a43f8cc11e8d7d3809074d762c5a0a8d62e.zip
gdb-1e1c6a43f8cc11e8d7d3809074d762c5a0a8d62e.tar.gz
gdb-1e1c6a43f8cc11e8d7d3809074d762c5a0a8d62e.tar.bz2
* windres/windres.exp: Return unsupported rather than fail if
windows.h not found.
Diffstat (limited to 'binutils/testsuite/binutils-all/windres')
-rw-r--r--binutils/testsuite/binutils-all/windres/windres.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/testsuite/binutils-all/windres/windres.exp b/binutils/testsuite/binutils-all/windres/windres.exp
index eb219dd..9c2f477 100644
--- a/binutils/testsuite/binutils-all/windres/windres.exp
+++ b/binutils/testsuite/binutils-all/windres/windres.exp
@@ -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)"