Files
clang-p2996/llvm/test/ExecutionEngine/lit.local.cfg
Tom Stellard 3129b3339c 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
2021-11-12 19:47:56 -08:00

7 lines
282 B
INI

if config.root.native_target in ['Sparc', 'PowerPC', 'AArch64', 'ARM64', 'SystemZ', 'Hexagon']:
config.unsupported = True
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
if 'native' not in config.available_features:
config.unsupported = True