Make target-specific test case in r177474 only run when that target is built
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Mar 2013 17:39:02 +0000 (17:39 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Mar 2013 17:39:02 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177545 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/ARM/inlined-vars.test [new file with mode: 0644]
test/DebugInfo/ARM/lit.local.cfg [new file with mode: 0644]
test/DebugInfo/inlined-vars.ll

diff --git a/test/DebugInfo/ARM/inlined-vars.test b/test/DebugInfo/ARM/inlined-vars.test
new file mode 100644 (file)
index 0000000..4876062
--- /dev/null
@@ -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 (file)
index 0000000..96c61d0
--- /dev/null
@@ -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
index 2237296f7f8a873e09430d286a092b0c076ddc69..6f30d8a0302c58afb23f1d0291a05dc71a776204 100644 (file)
@@ -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