summaryrefslogtreecommitdiff
path: root/clang/test/Analysis/exploded-graph-rewriter/lit.local.cfg
blob: 9786932aa5a164676d35fc2b02f02b0b4a0105e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- Python -*-

import lit.util
import lit.formats
import os

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',
                             '\'%s\' %s --dump-dot-only' % (
                                config.python_executable,
                                os.path.join(
                                    config.clang_src_dir,
                                    'utils', 'analyzer', 'exploded-graph-rewriter.py'))))

config.suffixes.add('.dot')