brintos

brintos / llvm-project-archived public Read only

0
0
Text · 516 B · ca334e9 Raw
24 lines · plain
1# -*- Python -*-2 3import lit.util4import lit.formats5import os6 7use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")8config.test_format = lit.formats.ShTest(use_lit_shell == "0")9 10config.substitutions.append(11    (12        "%exploded_graph_rewriter",13        "'%s' %s --dump-dot-only"14        % (15            config.python_executable,16            os.path.join(17                config.clang_src_dir, "utils", "analyzer", "exploded-graph-rewriter.py"18            ),19        ),20    )21)22 23config.suffixes.add(".dot")24