summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-23 02:56:51 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-23 02:56:51 +0000
commitdf9a78247a13daf6de441784d16772e8b21f6d82 (patch)
tree8accc647a2177d5eca1d1d53dc0215bde98342b5
parentd7689b6ff6faa91f8c27b632a9e51ea55d638644 (diff)
downloadllvm-df9a78247a13daf6de441784d16772e8b21f6d82.tar.gz
llvm-df9a78247a13daf6de441784d16772e8b21f6d82.tar.bz2
llvm-df9a78247a13daf6de441784d16772e8b21f6d82.tar.xz
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
-rw-r--r--test/MC/AsmParser/invalid-input-assertion.s1
-rw-r--r--test/MC/COFF/invalid-def.s1
-rw-r--r--test/MC/COFF/invalid-endef.s1
-rw-r--r--test/MC/COFF/invalid-scl-range.s1
-rw-r--r--test/MC/COFF/invalid-scl.s1
-rw-r--r--test/MC/COFF/invalid-type-range.s1
-rw-r--r--test/MC/COFF/invalid-type.s1
7 files changed, 0 insertions, 7 deletions
diff --git a/test/MC/AsmParser/invalid-input-assertion.s b/test/MC/AsmParser/invalid-input-assertion.s
index 68846fe6a8..2557f6e4aa 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 bfa1a54cbd..42821c22cf 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 543685a66c..c6fd8f5962 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 ec0c2bb192..5722505982 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 0d62497e96..8565a5afe0 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 9397cc50c3..92874cc458 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 a5c61f4aba..a1e131e99e 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