From d7bc5d0119c01ba42b018691bb01ef6e2bf4c5dc Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Thu, 31 Jul 2014 19:02:10 +0000 Subject: [PATCH] XFAIL the ARM test when we don't have this target. llvm-svn: 214420 --- lld/test/lit.cfg | 2 ++ lld/test/mach-o/arm-interworking-movw.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg index 07a2988..1fec26f 100644 --- a/lld/test/lit.cfg +++ b/lld/test/lit.cfg @@ -143,6 +143,8 @@ if re.search(r'DEBUG', llvm_config_output_list[0]): config.available_features.add('debug') if re.search(r'ON', llvm_config_output_list[1]): config.available_features.add('asserts') +if re.search(r'ARM', llvm_config_output_list[2]): + config.available_features.add('arm') if re.search(r'Mips', llvm_config_output_list[2]): config.available_features.add('mips') llvm_config_cmd.wait() diff --git a/lld/test/mach-o/arm-interworking-movw.yaml b/lld/test/mach-o/arm-interworking-movw.yaml index ff90545..d291513 100644 --- a/lld/test/mach-o/arm-interworking-movw.yaml +++ b/lld/test/mach-o/arm-interworking-movw.yaml @@ -1,3 +1,4 @@ +# REQUIRES: arm # RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s -o %t | FileCheck %s \ # RUN: && lld -flavor darwin -arch armv7 -dylib -print_atoms \ # RUN: -sectalign __TEXT __text 0x1000 %t -o %t2 | FileCheck %s \ -- 2.7.4