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
7 lines
282 B
INI
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
|