summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-04-20 12:25:18 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-05-03 14:03:54 +0100
commit7b758f66dbc550fa52ed66fd7f8b81f8ed37a94e (patch)
tree62c555aab13c7703f343806d37b81d2ccd4eb2c7 /toxcore
parentf8ab32aaa4efce2c9a310a14d10b19fb8544cfd9 (diff)
Enable cimple tests by default but allow disabling them.
Use `bazel test //c-toxcore/... --build_tag_filters=-haskell` to run all tests except the ones that depend on Haskell (i.e. cimple tests).
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/BUILD.bazel3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel
index af23a2b2..0fdfe0ae 100644
--- a/toxcore/BUILD.bazel
+++ b/toxcore/BUILD.bazel
@@ -33,6 +33,7 @@ cc_test(
33 name = "crypto_core_test", 33 name = "crypto_core_test",
34 size = "small", 34 size = "small",
35 srcs = ["crypto_core_test.cc"], 35 srcs = ["crypto_core_test.cc"],
36 flaky = True,
36 deps = [ 37 deps = [
37 ":crypto_core", 38 ":crypto_core",
38 "@com_google_googletest//:gtest_main", 39 "@com_google_googletest//:gtest_main",
@@ -296,5 +297,5 @@ sh_test(
296 srcs = ["//hs-tokstyle/tools:check-cimple"], 297 srcs = ["//hs-tokstyle/tools:check-cimple"],
297 args = ["$(location %s)" % f for f in CIMPLE_SRCS], 298 args = ["$(location %s)" % f for f in CIMPLE_SRCS],
298 data = CIMPLE_SRCS, 299 data = CIMPLE_SRCS,
299 tags = ["manual"], 300 tags = ["haskell"],
300) 301)