From: Matthew Gretton-Dann Date: Tue, 30 Nov 2010 13:38:59 +0000 (+0000) Subject: * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3e5cf5f4d06bd43a1d9e72b7067ce93726d329a;p=binutils-gdb.git * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test names. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index c7620dc5a99..73b8475d823 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 2e699228ad1..267c0be7278 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" } }