Skip to content

Commit

Permalink
cyber:fix unit test
Browse files Browse the repository at this point in the history
Change-Id: I92a2c6c1cdf891a59263ad41546aa917151fa920
  • Loading branch information
dreamholy committed Oct 28, 2022
1 parent f4a689d commit 14b4c1d
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions cyber/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down
2 changes: 2 additions & 0 deletions cyber/component/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest",
],
linkstatic = True,
)

cc_library(
Expand All @@ -51,6 +52,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down
1 change: 1 addition & 0 deletions cyber/croutine/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
4 changes: 4 additions & 0 deletions cyber/logger/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -50,6 +51,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -71,6 +73,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -90,6 +93,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
5 changes: 5 additions & 0 deletions cyber/node/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -67,6 +68,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down Expand Up @@ -104,6 +106,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest",
],
linkstatic = True,
)

cc_library(
Expand Down Expand Up @@ -137,6 +140,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest",
],
linkstatic = True,
)

cc_test(
Expand All @@ -149,6 +153,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest",
],
linkstatic = True,
)

cpplint()
3 changes: 3 additions & 0 deletions cyber/parameter/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -53,6 +54,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -77,6 +79,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down
2 changes: 2 additions & 0 deletions cyber/python/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest",
],
linkstatic = True,
)

cc_binary(
Expand Down Expand Up @@ -92,6 +93,7 @@ cc_test(
"@com_google_googletest//:gtest_main",
#"@fastrtps",
],
linkstatic = True,
)

cc_binary(
Expand Down
5 changes: 5 additions & 0 deletions cyber/scheduler/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_test(
Expand All @@ -136,6 +137,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_test(
Expand All @@ -146,6 +148,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_test(
Expand All @@ -156,6 +159,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_test(
Expand All @@ -166,6 +170,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
4 changes: 4 additions & 0 deletions cyber/service_discovery/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down Expand Up @@ -161,6 +162,7 @@ cc_test(
"//cyber/proto:unit_test_cc_proto",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -182,6 +184,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand All @@ -203,6 +206,7 @@ cc_test(
"//cyber",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
1 change: 1 addition & 0 deletions cyber/task/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cc_test(
"//cyber:cyber_core",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_library(
Expand Down
1 change: 1 addition & 0 deletions cyber/timer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ cc_test(
"//cyber:cyber_core",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
2 changes: 2 additions & 0 deletions cyber/transport/message/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ cc_test(
"//cyber:cyber_core",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cc_test(
Expand All @@ -65,6 +66,7 @@ cc_test(
"//cyber:cyber_core",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
1 change: 1 addition & 0 deletions cyber/transport/shm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ cc_test(
"//cyber:cyber_core",
"@com_google_googletest//:gtest_main",
],
linkstatic = True,
)

cpplint()
2 changes: 1 addition & 1 deletion modules/perception/onboard/component/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cc_library(
copts = [
'-DMODULE_NAME=\\"perception\\"',
],
linkopts = ["-lleveldb"],
# linkopts = ["-lleveldb"],
deps = [
":lidar_detection_component",
":multi_sensor_fusion_component",
Expand Down

0 comments on commit 14b4c1d

Please sign in to comment.