summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2014-07-31 19:02:10 +0000
committerSimon Atanasyan <simon@atanasyan.com>2014-07-31 19:02:10 +0000
commitd7bc5d0119c01ba42b018691bb01ef6e2bf4c5dc (patch)
tree0770ec0745fa4791967929593b85975e1f98879e
parent852e00e3d1827d93878e53b20f038431b52af254 (diff)
downloadbcm5719-llvm-d7bc5d0119c01ba42b018691bb01ef6e2bf4c5dc.tar.gz
bcm5719-llvm-d7bc5d0119c01ba42b018691bb01ef6e2bf4c5dc.zip
XFAIL the ARM test when we don't have this target.
llvm-svn: 214420
-rw-r--r--lld/test/lit.cfg2
-rw-r--r--lld/test/mach-o/arm-interworking-movw.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg
index 07a2988ed65..1fec26f26f7 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 ff90545673f..d291513df0f 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 \
OpenPOWER on IntegriCloud