Skip to content
Snippets Groups Projects
Commit f7ca3008 authored by Matthias Greuter's avatar Matthias Greuter
Browse files

Cleanup bazel target(s)

- Remove testing-suppressions dependency from mantle api test target
- Do not use glob when not needed
- Rename bazel target to test file name (keep it in sync)
parent 840c01ab
No related branches found
No related tags found
1 merge request!27Cleanup bazel target(s)
......@@ -10,31 +10,17 @@
cc_library(
name = "mantle_api",
hdrs = glob([
"include/**/*.h",
]),
includes = [
"include",
],
visibility = [
"//visibility:public",
],
deps = [
"@units",
],
hdrs = glob(["include/**/*.h"]),
includes = ["include"],
visibility = ["//visibility:public"],
deps = ["@units"],
)
cc_library(
name = "mantle_api_test_utils",
hdrs = glob([
"test/**/*.h",
]),
includes = [
"test",
],
visibility = [
"//visibility:public",
],
name = "test_utils",
hdrs = ["test/MantleAPI/Test/test_utils.h"],
includes = ["test"],
visibility = ["//visibility:public"],
deps = [
":mantle_api",
"@googletest//:gtest_main",
......@@ -42,14 +28,8 @@ cc_library(
)
cc_test(
name = "mantle_api_test",
name = "interface_test",
timeout = "short",
srcs = ["test/interface_test.cpp"],
data = [
"//Core/Service/Testing:sanitizer-suppressions",
],
tags = ["test"],
deps = [
":mantle_api_test_utils",
],
deps = [":test_utils"],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment