* lib/prelink-support.exp (prelink_yes): Flag test as unsupported if

prelink complains about an unhandled DWARF version.
This commit is contained in:
Doug Evans 2013-08-16 17:44:22 +00:00
parent 27285eedbd
commit 70cc1c235f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-08-16 Doug Evans <dje@google.com>
* lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
prelink complains about an unhandled DWARF version.
2013-08-14 Cary Coutant <ccoutant@google.com>
* boards/fission.exp: Add -fdebug-types-section to debug_flags.

View File

@ -292,6 +292,11 @@ proc prelink_yes {arg {name ""}} {
xfail $test
return 0
}
if {$result == 1 && [regexp {DWARF [^\r\n]* unhandled} $output]} {
# Prelink didn't understand the version of dwarf present.
unsupported "$test (dwarf version unhandled)"
return 0
}
if {$result == 0 && $output == ""} {
pass $test
return 1