Skip to content

Commit 3129b33

Browse files
committed
test/ExecutionEngine: Clean up lit.local.cfg
Switch to using config.root.native_target to determine if tests are supported. This is a canonical form of the arch from the target triple. Reviewed By: lhames, DavidSpickett Differential Revision: https://reviews.llvm.org/D110788
1 parent 51715fb commit 3129b33

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

llvm/test/ExecutionEngine/lit.local.cfg

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'ARM64', 'SystemZ']:
2-
config.unsupported = True
3-
4-
# CMake and autoconf diverge in naming or host_arch
5-
if 'powerpc64' in config.root.target_triple:
6-
config.unsupported = True
7-
8-
if 'aarch64' in config.root.target_triple \
9-
or 'arm64' in config.root.target_triple:
10-
config.unsupported = True
11-
12-
if 'hexagon' in config.root.target_triple:
13-
config.unsupported = True
14-
15-
if 'sparc' in config.root.target_triple:
1+
if config.root.native_target in ['Sparc', 'PowerPC', 'AArch64', 'ARM64', 'SystemZ', 'Hexagon']:
162
config.unsupported = True
173

184
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.

0 commit comments

Comments
 (0)