This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix s12z test regexps
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 21 Aug 2018 15:50:53 +0930
- Subject: Fix s12z test regexps
Fixes
ERROR: tcl error sourcing .../gas/testsuite/gas/s12z/s12z.exp.
ERROR: couldn't compile regular expression pattern: quantifier operand invalid
run_dump_test expected output lines are regexps.
* testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps.
diff --git a/gas/testsuite/gas/s12z/bit-manip-invalid.d b/gas/testsuite/gas/s12z/bit-manip-invalid.d
index 0cfcfe4701..571f435cd0 100644
--- a/gas/testsuite/gas/s12z/bit-manip-invalid.d
+++ b/gas/testsuite/gas/s12z/bit-manip-invalid.d
@@ -3,17 +3,17 @@
#source: bit-manip-invalid.s
-dump.o: file format elf32-s12z
+.*: file format elf32-s12z
-Disassembly of section .text:
+Disassembly of section \.text:
-00000000 <.text>:
+00000000 <\.text>:
0: 01 nop
- 1: 03 a5 10 04 brset.w 4100, d4, *+6
+ 1: 03 a5 10 04 brset\.w 4100, d4, \*\+6
5: 06
6: 01 nop
7: 01 nop
- 8: 03 65 12 brset d1, #4, *+18
+ 8: 03 65 12 brset d1, #4, \*\+18
b: 01 nop
c: 01 nop
--
Alan Modra
Australia Development Lab, IBM