* windres/windres.exp: Return unsupported rather than fail if
windows.h not found.
This commit is contained in:
parent
151fab348e
commit
1e1c6a43f8
|
@ -4,6 +4,8 @@
|
||||||
* binutils-all/copy-3.d (not-target): Likewise.
|
* binutils-all/copy-3.d (not-target): Likewise.
|
||||||
* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
|
* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
|
||||||
setup_xfail.
|
setup_xfail.
|
||||||
|
* windres/windres.exp: Return unsupported rather than fail if
|
||||||
|
windows.h not found.
|
||||||
|
|
||||||
2007-07-05 Nick Clifton <nickc@redhat.com>
|
2007-07-05 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,11 @@ foreach res $res_list {
|
||||||
if ![string match "" $err] then {
|
if ![string match "" $err] then {
|
||||||
send_log "$err\n"
|
send_log "$err\n"
|
||||||
verbose "$err" 1
|
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
|
continue
|
||||||
}
|
}
|
||||||
pass "windres/$broot (parse)"
|
pass "windres/$broot (parse)"
|
||||||
|
|
Loading…
Reference in New Issue