summaryrefslogtreecommitdiffstats
path: root/test/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/BUILD')
-rw-r--r--test/BUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/BUILD b/test/BUILD
new file mode 100644
index 0000000..ce9077b
--- /dev/null
+++ b/test/BUILD
@@ -0,0 +1,27 @@
+TEST_NAMES = [
+ "string_view_test",
+ "tracer_test",
+ "util_test",
+ "value_test",
+]
+
+[cc_test(
+ name = test_name,
+ srcs = [test_name + ".cpp"],
+ deps = [
+ "//:opentracing",
+ "//3rd_party:catch2",
+ ],
+) for test_name in TEST_NAMES]
+
+cc_test(
+ name = "mutiple_tracer_link_test",
+ srcs = [
+ "multiple_tracer_link_test.cpp",
+ "tracer_a.cpp",
+ "tracer_b.cpp",
+ ],
+ deps = [
+ "//:opentracing",
+ ]
+)