[PATCH] D47873: [AArch64] Tighten up directives tests

Bernard Ogden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 04:20:18 PDT 2018


bogden created this revision.
bogden added a reviewer: compnerd.
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, kristof.beyls.

Move expected-fail cases from directive-cpu.s to
directive-cpu-err.s. This allows us to remove the 'not' from the
llvm-mc invocation in directive-cpu.s so that this test will fail
in unexpected error cases. It also means that we are not relying
on all stderr coming before any stdout, which seems fragile.

Also make use of CHECK-NEXT to ensure that multiline error messages
really are occuring together.


Repository:
  rL LLVM

https://reviews.llvm.org/D47873

Files:
  test/MC/AArch64/directive-arch-negative.s
  test/MC/AArch64/directive-cpu-err.s
  test/MC/AArch64/directive-cpu.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47873.150294.patch
Type: text/x-patch
Size: 4598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/62b37c44/attachment.bin>


More information about the llvm-commits mailing list