* ld-scripts/script.exp: Use run_dump_test instead of

ld_simple_link to check the error message.
	* ld-scripts/align-with-input.d: New file.
	* ld-scripts/region-alias-1.d: Likewise.
	* ld-scripts/region-alias-2.d: Likewise.
	* ld-scripts/region-alias-3.d: Likewise.
	* ld-scripts/region-alias-4.d: Likewise.
This commit is contained in:
Nick Clifton 2013-07-22 13:03:30 +00:00
parent 1cf55f60bf
commit 9933d19149
2 changed files with 12 additions and 13 deletions

View File

@ -1,3 +1,13 @@
* 2013-07-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ld-scripts/script.exp: Use run_dump_test instead of
ld_simple_link to check the error message.
* ld-scripts/align-with-input.d: New file.
* ld-scripts/region-alias-1.d: Likewise.
* ld-scripts/region-alias-2.d: Likewise.
* ld-scripts/region-alias-3.d: Likewise.
* ld-scripts/region-alias-4.d: Likewise.
2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ld-scripts/script.exp: Run align with input test.

View File

@ -129,18 +129,7 @@ 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: $testname"
} else {
xpass "REGION_ALIAS: $testname"
}
run_dump_test [string range $test_script 0 end-2]
}
set testname "ALIGN_WITH_INPUT"
if ![ld_simple_link $ld tmpdir/script "$flags -T $srcdir/$subdir/align-with-input.t tmpdir/script.o"] {
xfail $testname
} else {
xpass $testname
}
run_dump_test "align-with-input"