mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply
"file rootname", not "file tail", before applying runtest_file_p.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-03-31 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
* ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply
|
||||||
|
"file rootname", not "file tail", before applying runtest_file_p.
|
||||||
|
|
||||||
2010-03-29 Daniel Jacobowitz <dan@codesourcery.com>
|
2010-03-29 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
|
* ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
|
||||||
|
@ -31,13 +31,11 @@ set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
|
|||||||
# DSO. Copy the file from the run_dump_test "tmpdir/dump" to a unique
|
# DSO. Copy the file from the run_dump_test "tmpdir/dump" to a unique
|
||||||
# expected name.
|
# expected name.
|
||||||
# FIXME: Add option "output: filename" to run_dump_test.
|
# FIXME: Add option "output: filename" to run_dump_test.
|
||||||
# FIXME: Add option "ldtail: option" to run_dump_test, so we can link
|
|
||||||
# libraries in the right order.
|
|
||||||
foreach atest $rd_test_list {
|
foreach atest $rd_test_list {
|
||||||
# We need to check against runtest_file_p too, or we'd mindlessly copy
|
# We need to check against runtest_file_p too, or we'd mindlessly copy
|
||||||
# the last tmpdir/dump in selective test-runs.
|
# the last tmpdir/dump in selective test-runs.
|
||||||
if { [string match $srcdir/$subdir/*dso-*.d $atest] \
|
if { [string match $srcdir/$subdir/*dso-*.d $atest] \
|
||||||
&& [runtest_file_p $runtests [file tail $atest]] } {
|
&& [runtest_file_p $runtests [file rootname $atest]] } {
|
||||||
verbose [file rootname $atest]
|
verbose [file rootname $atest]
|
||||||
run_dump_test [file rootname $atest]
|
run_dump_test [file rootname $atest]
|
||||||
set cmd "cp tmpdir/dump tmpdir/[file rootname [file tail $atest]].so"
|
set cmd "cp tmpdir/dump tmpdir/[file rootname [file tail $atest]].so"
|
||||||
|
Reference in New Issue
Block a user