From: David Blaikie Date: Wed, 20 Mar 2013 17:39:02 +0000 (+0000) Subject: Make target-specific test case in r177474 only run when that target is built X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a84d4f864008ab9eb34d0c659e0ebae56061228;p=platform%2Fupstream%2Fllvm.git Make target-specific test case in r177474 only run when that target is built llvm-svn: 177545 --- diff --git a/llvm/test/DebugInfo/ARM/inlined-vars.test b/llvm/test/DebugInfo/ARM/inlined-vars.test new file mode 100644 index 0000000..4876062 --- /dev/null +++ b/llvm/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/llvm/test/DebugInfo/ARM/lit.local.cfg b/llvm/test/DebugInfo/ARM/lit.local.cfg new file mode 100644 index 0000000..96c61d0 --- /dev/null +++ b/llvm/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/llvm/test/DebugInfo/inlined-vars.ll b/llvm/test/DebugInfo/inlined-vars.ll index 2237296..6f30d8a 100644 --- a/llvm/test/DebugInfo/inlined-vars.ll +++ b/llvm/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