clang/test/Analysis/exploded-graph-rewriter/lit.local.cfg
raw| 1 | # -*- Python -*- |
| 2 | |
| 3 | import lit.util |
| 4 | import lit.formats |
| 5 | import os |
| 6 | |
| 7 | use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL") |
| 8 | config.test_format = lit.formats.ShTest(use_lit_shell == "0") |
| 9 | |
| 10 | config.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 | |
| 23 | config.suffixes.add(".dot") |