mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
f8ab32aaa4
commit
7b758f66db
13
.cirrus.yml
13
.cirrus.yml
|
@ -1,15 +1,16 @@
|
||||||
---
|
---
|
||||||
cirrus-ci_task:
|
cirrus-ci_task:
|
||||||
container:
|
container:
|
||||||
image: toxchat/toktok-stack:0.0.7
|
image: toxchat/toktok-stack:0.0.10
|
||||||
cpu: 2
|
cpu: 2
|
||||||
memory: 2G
|
memory: 2G
|
||||||
configure_script:
|
configure_script:
|
||||||
- /src/workspace/tools/inject-repo c-toxcore
|
- /src/workspace/tools/inject-repo c-toxcore
|
||||||
test_all_script:
|
test_all_script:
|
||||||
- bazel test -k
|
- bazel test -k
|
||||||
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
|
--build_tag_filters=-haskell
|
||||||
--config=ci
|
--test_tag_filters=-haskell
|
||||||
--config=docker
|
--remote_download_minimal
|
||||||
--config=release
|
--config=ci
|
||||||
//c-toxcore/...
|
--config=release
|
||||||
|
//c-toxcore/...
|
||||||
|
|
|
@ -139,5 +139,5 @@ sh_test(
|
||||||
srcs = ["//hs-tokstyle/tools:check-cimple"],
|
srcs = ["//hs-tokstyle/tools:check-cimple"],
|
||||||
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
|
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
|
||||||
data = CIMPLE_SRCS,
|
data = CIMPLE_SRCS,
|
||||||
tags = ["manual"],
|
tags = ["haskell"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -33,6 +33,7 @@ cc_test(
|
||||||
name = "crypto_core_test",
|
name = "crypto_core_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["crypto_core_test.cc"],
|
srcs = ["crypto_core_test.cc"],
|
||||||
|
flaky = True,
|
||||||
deps = [
|
deps = [
|
||||||
":crypto_core",
|
":crypto_core",
|
||||||
"@com_google_googletest//:gtest_main",
|
"@com_google_googletest//:gtest_main",
|
||||||
|
@ -296,5 +297,5 @@ sh_test(
|
||||||
srcs = ["//hs-tokstyle/tools:check-cimple"],
|
srcs = ["//hs-tokstyle/tools:check-cimple"],
|
||||||
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
|
args = ["$(location %s)" % f for f in CIMPLE_SRCS],
|
||||||
data = CIMPLE_SRCS,
|
data = CIMPLE_SRCS,
|
||||||
tags = ["manual"],
|
tags = ["haskell"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user