etl/test/BUILD.bazel
Roland Reichwein b9b36d8155
Add bazel support (#1420)
* Add bazel support

* Add github workflow for bazel
2026-04-30 12:30:01 +02:00

37 lines
715 B
Python

load("@rules_cc//cc:defs.bzl", "cc_test")
cc_test(
name = "etl_tests",
size = "small",
srcs = glob(
[
"*.cpp",
"*.h",
],
exclude = [
"maincpp03check.cpp",
],
),
copts = [
"-Itest",
"-fno-omit-frame-pointer",
"-fno-common",
"-pedantic-errors",
"-Wall",
"-Wextra",
"-Werror",
"-Wfloat-equal",
"-Wshadow",
"-Wnull-dereference",
"-Wsign-conversion",
"-Wextra-semi",
"-Wno-maybe-uninitialized",
"-g",
],
linkopts = ["-latomic"],
deps = [
"//:etl",
"//test/UnitTest++:unittest-cpp",
],
)