binutils-gdb/sim/testsuite/cris/asm/opterr3.ms
Mike Frysinger e6c46d0772 sim: cris: make error message test a little more flexible
The point of this test is to just make sure the usage text is shown,
not the exact details of the usage text.  So shorten the output test
to match the beginning.  This fixes breakage when the output changed
slightly to include [--].
2021-11-15 03:34:36 -05:00

11 lines
382 B
Plaintext

# mach: crisv3 crisv8 crisv10 crisv32
# ld: -N --oformat binary --section-start=.text=0x10000000
# sim: --cris-naked --memory-mapfile
# xerror:
# output: Usage: run *\n*\n
# progopts: --memory-region 0x10000000,0x1000
.include "bare3.ms"
; Check that we get an error for wrong usage, not a SEGV for lack of
; bfd when missing the program argument (can't use *only* mapped files).