aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
}
}