summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-20 17:39:02 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-20 17:39:02 +0000
commit980b5140ffb2e410b9e9981794ed0b52573a716e (patch)
treedbc5e44f5a3c91f1fd5b7216c1c26f57b4c496ec /test/DebugInfo
parent0f9b8503dece38059743e3adc6083ea493b73744 (diff)
downloadllvm-980b5140ffb2e410b9e9981794ed0b52573a716e.tar.gz
llvm-980b5140ffb2e410b9e9981794ed0b52573a716e.tar.bz2
llvm-980b5140ffb2e410b9e9981794ed0b52573a716e.tar.xz
Make target-specific test case in r177474 only run when that target is built
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/ARM/inlined-vars.test1
-rw-r--r--test/DebugInfo/ARM/lit.local.cfg5
-rw-r--r--test/DebugInfo/inlined-vars.ll1
3 files changed, 6 insertions, 1 deletions
diff --git a/test/DebugInfo/ARM/inlined-vars.test b/test/DebugInfo/ARM/inlined-vars.test
new file mode 100644
index 0000000000..487606237b
--- /dev/null
+++ b/test/DebugInfo/ARM/inlined-vars.test
@@ -0,0 +1 @@
+RUN: llc -mtriple armv5 -O0 < %S/../inlined-vars.ll | FileCheck %S/../inlined-vars.ll -check-prefix ARGUMENT
diff --git a/test/DebugInfo/ARM/lit.local.cfg b/test/DebugInfo/ARM/lit.local.cfg
new file mode 100644
index 0000000000..96c61d09ba
--- /dev/null
+++ b/test/DebugInfo/ARM/lit.local.cfg
@@ -0,0 +1,5 @@
+config.suffixes = ['.ll', '.s', '.test']
+
+targets = set(config.root.targets_to_build.split())
+if not 'ARM' in targets:
+ config.unsupported = True
diff --git a/test/DebugInfo/inlined-vars.ll b/test/DebugInfo/inlined-vars.ll
index 2237296f7f..6f30d8a030 100644
--- a/test/DebugInfo/inlined-vars.ll
+++ b/test/DebugInfo/inlined-vars.ll
@@ -1,5 +1,4 @@
; RUN: llc -O0 < %s | FileCheck %s -check-prefix ARGUMENT
-; RUN: llc -mtriple armv5 -O0 < %s | FileCheck %s -check-prefix ARGUMENT
; RUN: llc -O0 < %s | FileCheck %s -check-prefix VARIABLE
; PR 13202