mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 04:00:56 +00:00
[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.formats
|
||||
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.substitutions.append(('%exploded_graph_rewriter',
|
||||
lit.util.which('exploded-graph-rewriter.py',
|
||||
os.path.join(config.clang_src_dir,
|
||||
'utils', 'analyzer'))))
|
||||
'\'%s\' %s' % (
|
||||
config.python_executable,
|
||||
lit.util.which('exploded-graph-rewriter.py',
|
||||
os.path.join(
|
||||
config.clang_src_dir,
|
||||
'utils', 'analyzer')))))
|
||||
|
||||
config.suffixes = ['.dot']
|
||||
|
Loading…
Reference in New Issue
Block a user