mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Allow Bazel to rerun tests marked as flaky
This commit is contained in:
parent
f6235b5f8d
commit
79748dd9e5
|
@ -14,12 +14,22 @@ test_sizes = {
|
|||
"conference_peer_nick_test": "medium",
|
||||
}
|
||||
|
||||
flaky_tests = {
|
||||
"crypto_core_test": True,
|
||||
"lan_discovery_test": True,
|
||||
"tcp_relay_test": True,
|
||||
}
|
||||
|
||||
[cc_test(
|
||||
name = src[:-2],
|
||||
size = test_sizes.get(
|
||||
src[:-2],
|
||||
"small",
|
||||
),
|
||||
flaky = flaky_tests.get(
|
||||
src[:-2],
|
||||
False,
|
||||
),
|
||||
srcs = [src],
|
||||
args = ["$(location %s)" % src],
|
||||
copts = ["-Wno-sign-compare"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user