summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-02 15:06:12 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-02 15:20:34 +0000
commite618829112a298d6a859369862f760f1b7e3dc11 (patch)
treedcbba36cc500806ea3745e6fdb026b9afc33d9ff /toxcore
parent0f7138c01006b35f2b1b477c30ae66ec243c21e1 (diff)
Add "cimple_test" to the bazel build.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/BUILD.bazel24
1 files changed, 24 insertions, 0 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel
index fc28a333..2fe951ac 100644
--- a/toxcore/BUILD.bazel
+++ b/toxcore/BUILD.bazel
@@ -279,3 +279,27 @@ cc_library(
279 "//c-toxcore/toxencryptsave:defines", 279 "//c-toxcore/toxencryptsave:defines",
280 ], 280 ],
281) 281)
282
283CIMPLE_SRCS = glob(
284 [
285 "*.c",
286 "*.h",
287 ],
288 exclude = [
289 "*.api.h",
290 "ccompat.h",
291 "crypto_core_mem.c",
292 "ping_array.h",
293 "tox.h",
294 "tox_api.c",
295 ],
296)
297
298sh_test(
299 name = "cimple_test",
300 size = "small",
301 srcs = ["//hs-tokstyle/tools:check-cimple"],
302 args = ["$(location %s)" % f for f in CIMPLE_SRCS],
303 data = CIMPLE_SRCS,
304 tags = ["manual"],
305)