Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets.

PR 19457
	* testsuite/ld-scripts/script.exp (extract_symbol_test): Add
	exceptions for Mingw and Cygwin.
This commit is contained in:
Nick Clifton 2016-04-14 10:38:05 +01:00
parent 392f059f41
commit 8dc483a0b6
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2016-04-14 Nick Clifton <nickc@redhat.com>
PR 19457
* testsuite/ld-scripts/script.exp (extract_symbol_test): Add
exceptions for Mingw and Cygwin.
2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
* testsuite/lib/ld-lib.exp (run_dump_test): Initialise

View File

@ -154,6 +154,15 @@ proc extract_symbol_test { testfile testname } {
pass $testname
return
}
# More PE variations...
[a-z]*-*-mingw* {
pass $testname
return
}
[a-z]*-*-cygwin$ {
pass $testname
return
}
}
set extract_syms [run_host_cmd $nm $copyfile]