projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use variable args in run_ld_link_exec_tests
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
lib
/
ld-lib.exp
diff --git
a/ld/testsuite/lib/ld-lib.exp
b/ld/testsuite/lib/ld-lib.exp
index 9cd1959fa1e0177811819508ef5b8dbd215207cf..cd9e930cab9a637fa402730659ba7a86dc99a735 100644
(file)
--- a/
ld/testsuite/lib/ld-lib.exp
+++ b/
ld/testsuite/lib/ld-lib.exp
@@
-1367,7
+1367,6
@@
if ![string length [info proc prune_warnings]] {
}
}
}
}
-# targets_to_xfail is a list of target triplets to be xfailed.
# ldtests contains test-items with 3 items followed by 1 lists, 2 items
# and 3 optional items:
# 0:name
# ldtests contains test-items with 3 items followed by 1 lists, 2 items
# and 3 optional items:
# 0:name
@@
-1379,8
+1378,9
@@
if ![string length [info proc prune_warnings]] {
# 6:compiler flags (optional)
# 7:language (optional)
# 8:linker warning (optional)
# 6:compiler flags (optional)
# 7:language (optional)
# 8:linker warning (optional)
+# args is an optional list of target triplets to be xfailed.
-proc run_ld_link_exec_tests {
targets_to_xfail ldtest
s } {
+proc run_ld_link_exec_tests {
ldtests arg
s } {
global ld
global as
global srcdir
global ld
global as
global srcdir
@@
-1394,7
+1394,7
@@
proc run_ld_link_exec_tests { targets_to_xfail ldtests } {
global exec_output
foreach testitem $ldtests {
global exec_output
foreach testitem $ldtests {
- foreach target $
targets_to_xfail
{
+ foreach target $
args
{
setup_xfail $target
}
set testname [lindex $testitem 0]
setup_xfail $target
}
set testname [lindex $testitem 0]
This page took
0.023884 seconds
and
4
git commands to generate.