1# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
2from lit.llvm.subst import ToolSubst
3
4fc = ToolSubst('FileCheck', unresolved='fatal')
5# Insert this first. Then, we'll first update the blank FileCheck command; then,
6# the default substitution of FileCheck will replace it to its full path.
7config.substitutions.insert(0, (fc.regex,
8    'FileCheck --allow-unused-prefixes=false'))
9