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-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.
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"