* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Tue, 30 Nov 2010 13:38:59 +0000 (13:38 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Tue, 30 Nov 2010 13:38:59 +0000 (13:38 +0000)
names.

ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/script.exp

index c7620dc5a99a4e9b5aface833978b28aed442994..73b8475d82371b3b72d4675382e40e42e5121b04 100644 (file)
@@ -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
index 2e699228ad17b5b1b398ef66b949dc6dcaaf4f27..267c0be7278b8127b98548381272414649e0bee0 100644 (file)
@@ -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"
     }
 }
This page took 0.026041 seconds and 4 git commands to generate.