From: Saleem Abdulrasool Date: Fri, 23 May 2014 02:56:51 +0000 (+0000) Subject: MC: remove unnecessary restriction on tests X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=df9a78247a13daf6de441784d16772e8b21f6d82;p=oota-llvm.git MC: remove unnecessary restriction on tests Rafael correctly pointed out that the restriction is unnecessary. Although the tests are intended to ensure that we dont abort due to an assertion, running the tests in all modes is better since it also ensures that we dont crash without assertions. Always run these tests to ensure that we can handle invalid input correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209496 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/AsmParser/invalid-input-assertion.s b/test/MC/AsmParser/invalid-input-assertion.s index 68846fe6a81..2557f6e4aa6 100644 --- a/test/MC/AsmParser/invalid-input-assertion.s +++ b/test/MC/AsmParser/invalid-input-assertion.s @@ -1,5 +1,4 @@ // RUN: not llvm-mc -triple i686-linux -o /dev/null %s -// REQUIRES: asserts .macro macro parameter=0 .if \parameter diff --git a/test/MC/COFF/invalid-def.s b/test/MC/COFF/invalid-def.s index bfa1a54cbd7..42821c22cf7 100644 --- a/test/MC/COFF/invalid-def.s +++ b/test/MC/COFF/invalid-def.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .def first .def second diff --git a/test/MC/COFF/invalid-endef.s b/test/MC/COFF/invalid-endef.s index 543685a66c6..c6fd8f59626 100644 --- a/test/MC/COFF/invalid-endef.s +++ b/test/MC/COFF/invalid-endef.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .endef diff --git a/test/MC/COFF/invalid-scl-range.s b/test/MC/COFF/invalid-scl-range.s index ec0c2bb1925..57225059821 100644 --- a/test/MC/COFF/invalid-scl-range.s +++ b/test/MC/COFF/invalid-scl-range.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .def storage_class_range .scl 1337 diff --git a/test/MC/COFF/invalid-scl.s b/test/MC/COFF/invalid-scl.s index 0d62497e96d..8565a5afe0e 100644 --- a/test/MC/COFF/invalid-scl.s +++ b/test/MC/COFF/invalid-scl.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .scl 1337 diff --git a/test/MC/COFF/invalid-type-range.s b/test/MC/COFF/invalid-type-range.s index 9397cc50c35..92874cc4586 100644 --- a/test/MC/COFF/invalid-type-range.s +++ b/test/MC/COFF/invalid-type-range.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .def invalid_type_range .type 65536 diff --git a/test/MC/COFF/invalid-type.s b/test/MC/COFF/invalid-type.s index a5c61f4aba8..a1e131e99e5 100644 --- a/test/MC/COFF/invalid-type.s +++ b/test/MC/COFF/invalid-type.s @@ -1,5 +1,4 @@ # RUN: not llvm-mc -triple i686-windows -filetype obj -o /dev/null %s -# REQUIRES: asserts .type 65536