* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test

names.
This commit is contained in:
Matthew Gretton-Dann 2010-11-30 13:38:59 +00:00
parent 9203b09a4b
commit c3e5cf5f4d
2 changed files with 8 additions and 2 deletions

View 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

View 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"
}
}