llvm-project/llvm/test/CodeGen/BPF/lit.local.cfg
Jinsong Ji 6bdfcb165e [BPF][Test] Disable codegen test on AIX
https://reviews.llvm.org/D101194 changed the default getMultiarchTriple in toolchain.
So -march=bpf on AIX will get triple of bpf-ibm-aix now,
this is unexpected and causing test failures.

BPF on AIX is not supported (yet), disable the codegen test on AIX in lit cfg.

Reviewed By: yonghong-song

Differential Revision: https://reviews.llvm.org/D101866
2021-05-06 02:38:46 +00:00

5 lines
143 B
INI

if not 'BPF' in config.root.targets:
config.unsupported = True
if 'system-aix' in config.available_features:
config.unsupported = True