summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/tools/llvm-as/help.test3
-rw-r--r--llvm/test/tools/llvm-as/lit.local.cfg4
2 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-as/help.test b/llvm/test/tools/llvm-as/help.test
new file mode 100644
index 00000000000..8c65b350f36
--- /dev/null
+++ b/llvm/test/tools/llvm-as/help.test
@@ -0,0 +1,3 @@
+RUN: llvm-as --help 2>&1 | FileCheck --implicit-check-not="General Options:" %s
+CHECK: Generic Options:
+CHECK: llvm-as Options:
diff --git a/llvm/test/tools/llvm-as/lit.local.cfg b/llvm/test/tools/llvm-as/lit.local.cfg
new file mode 100644
index 00000000000..1fc0bea084c
--- /dev/null
+++ b/llvm/test/tools/llvm-as/lit.local.cfg
@@ -0,0 +1,4 @@
+if not 'X86' in config.root.targets:
+ config.unsupported = True
+
+config.suffixes = ['.ll', '.s', '.test', '.yaml']
OpenPOWER on IntegriCloud