summaryrefslogtreecommitdiff
path: root/auto_tests/BUILD.bazel
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-17 01:18:04 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-22 02:34:30 +0000
commitf627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch)
treec72c950fab473dc9bec4b5329d251b790e55443d /auto_tests/BUILD.bazel
parent7245ac11ef9be2420c8356c12acc79f93ea211bb (diff)
Run Clang global static analysis on Travis.
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
Diffstat (limited to 'auto_tests/BUILD.bazel')
-rw-r--r--auto_tests/BUILD.bazel24
1 files changed, 1 insertions, 23 deletions
diff --git a/auto_tests/BUILD.bazel b/auto_tests/BUILD.bazel
index 21c403ab..a5ef7645 100644
--- a/auto_tests/BUILD.bazel
+++ b/auto_tests/BUILD.bazel
@@ -25,32 +25,10 @@ test_sizes = {
25 deps = [ 25 deps = [
26 ":check_compat", 26 ":check_compat",
27 ":run_auto_test", 27 ":run_auto_test",
28 "//c-toxcore/other:monolith",
29 "//c-toxcore/testing:misc_tools", 28 "//c-toxcore/testing:misc_tools",
30 "//c-toxcore/toxav", 29 "//c-toxcore/toxav",
31 "//c-toxcore/toxcore", 30 "//c-toxcore/toxcore",
31 "//c-toxcore/toxcore:DHT_srcs",
32 "//c-toxcore/toxencryptsave", 32 "//c-toxcore/toxencryptsave",
33 ], 33 ],
34) for src in glob(["*_test.c"])] 34) for src in glob(["*_test.c"])]
35
36cc_library(
37 name = "monolith",
38 hdrs = glob([
39 "*.c",
40 "*.h",
41 ]),
42)
43
44cc_test(
45 name = "monolith_test",
46 size = "small",
47 srcs = ["monolith_test.cc"],
48 copts = ["-Wno-sign-compare"],
49 deps = [
50 ":check_compat",
51 ":monolith",
52 ":run_auto_test",
53 "//c-toxcore/other:monolith",
54 "//c-toxcore/testing:misc_tools",
55 ],
56)