Skip to content

Commit 6ea17e8

Browse files
committed
add C++ tests to bazel
1 parent 08fc8f2 commit 6ea17e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auto_tests/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ flaky_tests = {
2020
}
2121

2222
[cc_test(
23-
name = src[:-2],
23+
name = src[:src.rindex(".")-len(src)],
2424
size = "small",
2525
srcs = [src],
2626
args = ["$(location %s)" % src],
@@ -38,4 +38,4 @@ flaky_tests = {
3838
"//c-toxcore/toxcore:DHT_srcs",
3939
"//c-toxcore/toxencryptsave",
4040
],
41-
) for src in glob(["*_test.c"])]
41+
) for src in glob(["*_test.c*"])]

0 commit comments

Comments
 (0)