From c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Tue, 30 Nov 2010 13:38:59 +0000 Subject: [PATCH] * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test names. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-scripts/script.exp | 5 +++-- 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 + + * ld-scripts/script.exp: Remove full path from REGION_ALIAS test + names. + 2010-11-25 Matthew Gretton-Dann * 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" } } -- 2.7.4