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
......@@ -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"],
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment