toxcore/auto_tests/BUILD

27 lines
494 B
Python
Raw Normal View History

cc_library(
name = "helpers",
testonly = True,
hdrs = [
"check_compat.h",
"helpers.h",
],
)
[cc_test(
name = src[:-2],
size = "small",
srcs = [src],
copts = [
2018-01-19 05:51:45 +08:00
"-std=c99",
"-Wno-parentheses",
],
deps = [
":helpers",
"//c-toxcore/other:monolith",
"//c-toxcore/testing:misc_tools",
"//c-toxcore/toxav",
"//c-toxcore/toxcore",
"@check",
],
) for src in glob(["*_test.c"])]