From a4f1ec043c328c2fbf67717d81236c338500f5bf Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 23 May 2014 02:56:51 +0000 Subject: [PATCH] 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. llvm-svn: 209496 --- llvm/test/MC/AsmParser/invalid-input-assertion.s | 1 - llvm/test/MC/COFF/invalid-def.s | 1 - llvm/test/MC/COFF/invalid-endef.s | 1 - llvm/test/MC/COFF/invalid-scl-range.s | 1 - llvm/test/MC/COFF/invalid-scl.s | 1 - llvm/test/MC/COFF/invalid-type-range.s | 1 - llvm/test/MC/COFF/invalid-type.s | 1 - 7 files changed, 7 deletions(-) diff --git a/llvm/test/MC/AsmParser/invalid-input-assertion.s b/llvm/test/MC/AsmParser/invalid-input-assertion.s index 68846fe6a81a..2557f6e4aa6f 100644 --- a/llvm/test/MC/AsmParser/invalid-input-assertion.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-def.s b/llvm/test/MC/COFF/invalid-def.s index bfa1a54cbd75..42821c22cf71 100644 --- a/llvm/test/MC/COFF/invalid-def.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-endef.s b/llvm/test/MC/COFF/invalid-endef.s index 543685a66c6b..c6fd8f596268 100644 --- a/llvm/test/MC/COFF/invalid-endef.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-scl-range.s b/llvm/test/MC/COFF/invalid-scl-range.s index ec0c2bb19252..57225059821e 100644 --- a/llvm/test/MC/COFF/invalid-scl-range.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-scl.s b/llvm/test/MC/COFF/invalid-scl.s index 0d62497e96d9..8565a5afe0e9 100644 --- a/llvm/test/MC/COFF/invalid-scl.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-type-range.s b/llvm/test/MC/COFF/invalid-type-range.s index 9397cc50c35b..92874cc4586b 100644 --- a/llvm/test/MC/COFF/invalid-type-range.s +++ b/llvm/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/llvm/test/MC/COFF/invalid-type.s b/llvm/test/MC/COFF/invalid-type.s index a5c61f4aba8b..a1e131e99e55 100644 --- a/llvm/test/MC/COFF/invalid-type.s +++ b/llvm/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