diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-28 21:30:39 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-30 23:35:50 +0000 |
commit | 92ffad1a72bc8c422426d52ac408bd71242dd047 (patch) | |
tree | f592f353068dd2043525dd2cc04d6124a4ed4bc4 /auto_tests/BUILD.bazel | |
parent | 623e9ac331df7323660e21c8a2226523a5ee713b (diff) |
Use nullptr as NULL pointer constant instead of NULL or 0.
This changes only code, no string literals or comments.
Diffstat (limited to 'auto_tests/BUILD.bazel')
-rw-r--r-- | auto_tests/BUILD.bazel | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/auto_tests/BUILD.bazel b/auto_tests/BUILD.bazel index 8e218b51..ea3682b8 100644 --- a/auto_tests/BUILD.bazel +++ b/auto_tests/BUILD.bazel | |||
@@ -1,5 +1,3 @@ | |||
1 | load("//tools:no_undefined.bzl", "cc_library") | ||
2 | |||
3 | cc_library( | 1 | cc_library( |
4 | name = "helpers", | 2 | name = "helpers", |
5 | testonly = True, | 3 | testonly = True, |
@@ -26,4 +24,29 @@ cc_library( | |||
26 | "//c-toxcore/toxencryptsave", | 24 | "//c-toxcore/toxencryptsave", |
27 | "@check", | 25 | "@check", |
28 | ], | 26 | ], |
29 | ) for src in glob(["*_test.c*"])] | 27 | ) for src in glob(["*_test.c"])] |
28 | |||
29 | cc_library( | ||
30 | name = "monolith", | ||
31 | hdrs = glob([ | ||
32 | "*.c", | ||
33 | "*.h", | ||
34 | ]), | ||
35 | ) | ||
36 | |||
37 | cc_test( | ||
38 | name = "monolith_test", | ||
39 | size = "small", | ||
40 | srcs = ["monolith_test.cpp"], | ||
41 | copts = [ | ||
42 | "-Wno-parentheses", | ||
43 | "-Wno-sign-compare", | ||
44 | ], | ||
45 | deps = [ | ||
46 | ":helpers", | ||
47 | ":monolith", | ||
48 | "//c-toxcore/other:monolith", | ||
49 | "//c-toxcore/testing:misc_tools", | ||
50 | "@check", | ||
51 | ], | ||
52 | ) | ||