This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix testsuite failure for d10v assembler


The lns-duplicate test fails with the d10v assembler due to missing line
number information.

Andreas.

2009-01-23  Andreas Schwab  <schwab@suse.de>

	* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.

--- testsuite/gas/lns/lns.exp.~1.10.~	2008-02-04 11:12:25.000000000 +0100
+++ testsuite/gas/lns/lns.exp	2009-01-23 14:19:14.000000000 +0100
@@ -4,7 +4,11 @@ if ![is_elf_format] then {
 
 run_list_test "lns-diag-1" ""
 
-run_dump_test "lns-duplicate"
+# Does not work on targets that do not generate line number
+# information (d10v).
+if {![istarget d10v-*-*]} {
+    run_dump_test "lns-duplicate"
+}
 
 # ??? Won't work on targets that don't have a bare "nop" insn.
 # Perhaps we could arrange for an include file or something that

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]