This is the mail archive of the binutils@sources.redhat.com 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]

[RFA]: Fix gas mri.exp test for 68HC11/68HC12


Hi!

The GAS mri testsuite contains assembly instructions specific
to M68K.  The pattern used to accept this test is m68*-*-*
and both m6811-elf and m6812-elf match this pattern.

Since MRI mode is also used by 68HC11/68HC12 gas, I reorganized a
little bit mri.exp to execute those tests that don't depend
on M68K, and recognize m6811-* m6812-* to avoid a failure for
tests using M68K instructions.

This patch allows me to run the Gas testsuite without any failure.

Can you approve this patch for the binutils-2_11-branch and trunk?

Thanks,

	Stephane


2001-02-02  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* gas/mri/mri.exp: Don't execute the M68K specific tests 
	on m6811-elf and m6812-elf targets, still run the generic MRI tests.
Index: testsuite/gas/mri/mri.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mri/mri.exp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mri.exp
--- mri.exp	1999/05/03 07:28:52	1.1.1.1
+++ mri.exp	2001/02/02 14:23:17
@@ -10,19 +10,26 @@
     return
 }
 
+# These tests are generic MRI tests: they don't rely on M68K opcodes.
 run_dump_test label
 run_dump_test equ
-run_dump_test constants
-run_dump_test immconst
 run_dump_test float
 run_dump_test char
 run_dump_test expr
 run_dump_test common
 run_dump_test comment
 gas_test "empty.s" "-M" "" "MRI empty macro"
+run_dump_test semi
+
+if [istarget "m6811-*-*" || istarget "m6812-*-*"] {
+    return
+}
+
+# Next tests contain 68K opcodes
+run_dump_test constants
+run_dump_test immconst
 run_dump_test for
 run_dump_test if
 run_dump_test repeat
 run_dump_test while
-run_dump_test semi
 run_dump_test moveml

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