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).
This commit is contained in:
iphydf 2020-04-20 12:25:18 +00:00
parent f8ab32aaa4
commit 7b758f66db
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
3 changed files with 10 additions and 8 deletions

View File

@ -1,15 +1,16 @@
---
cirrus-ci_task:
container:
image: toxchat/toktok-stack:0.0.7
image: toxchat/toktok-stack:0.0.10
cpu: 2
memory: 2G
configure_script:
- /src/workspace/tools/inject-repo c-toxcore
test_all_script:
- bazel test -k
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--remote_download_minimal
--config=ci
--config=docker
--config=release
//c-toxcore/...

View File

@ -139,5 +139,5 @@ sh_test(
srcs = ["//hs-tokstyle/tools:check-cimple"],
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
data = CIMPLE_SRCS,
tags = ["manual"],
tags = ["haskell"],
)

View File

@ -33,6 +33,7 @@ cc_test(
name = "crypto_core_test",
size = "small",
srcs = ["crypto_core_test.cc"],
flaky = True,
deps = [
":crypto_core",
"@com_google_googletest//:gtest_main",
@ -296,5 +297,5 @@ sh_test(
srcs = ["//hs-tokstyle/tools:check-cimple"],
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
data = CIMPLE_SRCS,
tags = ["manual"],
tags = ["haskell"],
)