aboutsummaryrefslogtreecommitdiffstats
path: root/tests/clazy/config.json
blob: 77e2314cbf97ca0af62cdded10898d50db800852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
    "minimum_clang_version" : 370,
    "blacklist_platforms" : "win32",
    "tests" : [
        {
            "filename" : "test_requested_checks.sh",
            "qt_major_versions" : [5],
            "compare_everything" : true,
            "minimum_qt_version" : 50500
        },
        {
            "filename" : "suppressions.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["qstring-allocations", "foreach", "qdatetime-utc"]
        },
        {
            "filename" : "suppressionsWholeFile.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["qstring-allocations", "foreach"]
        },
        {
            "filename" : "werror.cpp",
            "qt_major_versions" : [5],
            "flags"    : "-Werror",
            "must_fail": true,
            "checks"   : ["qgetenv"]
        },
        {
            "filename" : "werror2.cpp",
            "qt_major_versions" : [5],
            "flags"    : "-Werror",
            "checks"   : ["qgetenv"],
            "env"      : { "CLAZY_NO_WERROR" : "1" }
        },
        {
            "filename" : "qt4compat1.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["old-style-connect"],
            "has_fixits" : true
        },
        {
            "filename" : "qt4compat2.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["old-style-connect"],
            "qt4compat": true
        },
        {
            "filename" : "onlyQt1.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["old-style-connect"],
            "only_qt"  : false,
            "has_fixits" : true
        },
        {
            "filename" : "onlyQt2.cpp",
            "qt_major_versions" : [5],
            "checks"   : ["old-style-connect"],
            "only_qt"  : true
        }
    ]
}