aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/lib
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-05-11 12:29:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-05-11 12:29:27 -0700
commite83c417475ba1a0a4b0ef81c99382ac78dfde7f1 (patch)
tree16d48bbce082d06555e95258344f7e3aeb36df62 /binutils/testsuite/lib
parent5197d474361b4748e0339ae60e6dc9975f2313df (diff)
downloadgdb-e83c417475ba1a0a4b0ef81c99382ac78dfde7f1.zip
gdb-e83c417475ba1a0a4b0ef81c99382ac78dfde7f1.tar.gz
gdb-e83c417475ba1a0a4b0ef81c99382ac78dfde7f1.tar.bz2
Allow mixing target and not-target directives
Mixing target and not-target directives can be used to run for x86_64-*-* target while skipping x86_64-*-gnux32 target. This patch allows mixing target and not-target directives. It is used to skip elfedit-1 for x86_64-*-gnux32. * binutils-all/elfedit-1.d: Skip x86_64-*-gnux32. * lib/utils-lib.exp (run_dump_test): Allow mixing target and not-target directives.
Diffstat (limited to 'binutils/testsuite/lib')
-rw-r--r--binutils/testsuite/lib/utils-lib.exp5
1 files changed, 0 insertions, 5 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp
index b366b63..f87b390 100644
--- a/binutils/testsuite/lib/utils-lib.exp
+++ b/binutils/testsuite/lib/utils-lib.exp
@@ -412,11 +412,6 @@ proc run_dump_test { name {extra_options {}} } {
if {$skip} { return }
}
if { $opts(target) != "" } then {
- if { $opts(not-target) != "" } then {
- perror "$testname: mixing target and not-target directives is invalid"
- unresolved $testname
- return
- }
set skip 1
foreach glob $opts(target) {
if {[istarget $glob]} {