llvm-project/llvm/test/CodeGen/AMDGPU/lit.local.cfg

13 lines
404 B
INI

from lit.llvm.subst import ToolSubst
if not 'AMDGPU' in config.root.targets:
config.unsupported = True
fc = ToolSubst('FileCheck', unresolved='fatal')
# Insert this first. Then, we'll first update the blank FileCheck command; then,
# the default substitution of FileCheck will replace it to its full path.
config.substitutions.insert(0, (fc.regex,
'FileCheck --allow-unused-prefixes=false'))