[MC][test] Reorganize macro tests
authorFangrui Song <maskray@google.com>
Sun, 12 Apr 2020 15:14:37 +0000 (08:14 -0700)
committerFangrui Song <maskray@google.com>
Sun, 12 Apr 2020 22:18:35 +0000 (15:18 -0700)
commit38c271f6f921e30855c77666dbfab7e9c456e3d1
tree3be52532c105ac5b6817dfd74976913e3665cfc7
parent672207c319a06f20dc634bcd21678d5dbbe7a6b9
[MC][test] Reorganize macro tests

* Add locations
* Use FileCheck --match-full-lines --strict-whitespace
* Use CHECK-NEXT:
* Merge related tests
* Delete redundant tests
* Improve test coverage

Differential Revision: https://reviews.llvm.org/D77981
16 files changed:
llvm/test/MC/AsmParser/macro-arg-darwin.s [moved from llvm/test/MC/AsmParser/macro-args.s with 100% similarity]
llvm/test/MC/AsmParser/macro-arg-err.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macro-arg.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macro-def-in-instantiation-darwin.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macro-def-in-instantiation.s
llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s [deleted file]
llvm/test/MC/AsmParser/macro-err1.s [deleted file]
llvm/test/MC/AsmParser/macro-qualifier-diagnostics.s [deleted file]
llvm/test/MC/AsmParser/macro-required-argument-err.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macro-required-argument.s [moved from llvm/test/MC/AsmParser/macro-qualifier.s with 100% similarity]
llvm/test/MC/AsmParser/macro-unknown-directive.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macros-argument-parsing-diagnostics.s [deleted file]
llvm/test/MC/AsmParser/macros-argument-parsing.s [deleted file]
llvm/test/MC/AsmParser/macros-gas.s [deleted file]
llvm/test/MC/AsmParser/macros-off.s [new file with mode: 0644]
llvm/test/MC/AsmParser/macros-parsing.s [deleted file]