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
This commit is contained in:
David Blaikie 2013-03-20 17:39:02 +00:00
parent 0f9b8503de
commit 980b5140ff
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1 @@
RUN: llc -mtriple armv5 -O0 < %S/../inlined-vars.ll | FileCheck %S/../inlined-vars.ll -check-prefix ARGUMENT

View File

@ -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

View 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