forked from OSchip/llvm-project
[analyzer] exploded-graph-rewriter: Pick up python from cmake in tests.
This should fix NetBSD buildbots. llvm-svn: 362574
This commit is contained in:
parent
cfb6c82172
commit
1611cc1cba
|
@ -1,3 +1,5 @@
|
||||||
|
# -*- Python -*-
|
||||||
|
|
||||||
import lit.util
|
import lit.util
|
||||||
import lit.formats
|
import lit.formats
|
||||||
import os
|
import os
|
||||||
|
@ -6,8 +8,11 @@ use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")
|
||||||
config.test_format = lit.formats.ShTest(use_lit_shell == "0")
|
config.test_format = lit.formats.ShTest(use_lit_shell == "0")
|
||||||
|
|
||||||
config.substitutions.append(('%exploded_graph_rewriter',
|
config.substitutions.append(('%exploded_graph_rewriter',
|
||||||
lit.util.which('exploded-graph-rewriter.py',
|
'\'%s\' %s' % (
|
||||||
os.path.join(config.clang_src_dir,
|
config.python_executable,
|
||||||
'utils', 'analyzer'))))
|
lit.util.which('exploded-graph-rewriter.py',
|
||||||
|
os.path.join(
|
||||||
|
config.clang_src_dir,
|
||||||
|
'utils', 'analyzer')))))
|
||||||
|
|
||||||
config.suffixes = ['.dot']
|
config.suffixes = ['.dot']
|
||||||
|
|
Loading…
Reference in New Issue