aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/script.exp
diff options
context:
space:
mode:
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2010-11-30 13:38:59 +0000
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2010-11-30 13:38:59 +0000
commitc3e5cf5f4d06bd43a1d9e72b7067ce93726d329a (patch)
tree48e7929ad4194dd84cda325de50d1e592903eb3b /ld/testsuite/ld-scripts/script.exp
parent9203b09a4bf1a9927cfefeb1115ddd64fbeea7b0 (diff)
downloadfsf-binutils-gdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.zip
fsf-binutils-gdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.tar.gz
fsf-binutils-gdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.tar.bz2
* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
names.
Diffstat (limited to 'ld/testsuite/ld-scripts/script.exp')
-rw-r--r--ld/testsuite/ld-scripts/script.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index 2e69922..267c0be 100644
--- a/ld/testsuite/ld-scripts/script.exp
+++ b/ld/testsuite/ld-scripts/script.exp
@@ -130,9 +130,10 @@ if ![ld_simple_link $ld tmpdir/script "$flags -T $srcdir/$subdir/memory.t tmpdir
set test_script_list [lsort [glob $srcdir/$subdir/region-alias-*.t]]
foreach test_script $test_script_list {
+ set testname [file tail $test_script]
if ![ld_simple_link $ld tmpdir/script "$flags -T $test_script tmpdir/script.o"] {
- xfail "REGION_ALIAS: $test_script"
+ xfail "REGION_ALIAS: $testname"
} else {
- xpass "REGION_ALIAS: $test_script"
+ xpass "REGION_ALIAS: $testname"
}
}