aboutsummaryrefslogtreecommitdiff
path: root/ld
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
parent9203b09a4bf1a9927cfefeb1115ddd64fbeea7b0 (diff)
downloadgdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.zip
gdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.tar.gz
gdb-c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a.tar.bz2
* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
names.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-scripts/script.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index c7620dc..73b8475 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ * ld-scripts/script.exp: Remove full path from REGION_ALIAS test
+ names.
+
2010-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in
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"
}
}