From 0e9b32485670bb321b9b2eee3f1860e0db43d377 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Fri, 21 Dec 2018 12:14:17 -0800 Subject: Fix test util tests We actually need to include test main! PiperOrigin-RevId: 226524447 Change-Id: I9d9e631611183c7c1fbae1c20a222c9aeef269b2 --- test/util/BUILD | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/util/BUILD b/test/util/BUILD index 14f9acb2e..f981a8d1d 100644 --- a/test/util/BUILD +++ b/test/util/BUILD @@ -52,7 +52,9 @@ cc_test( srcs = ["proc_util_test.cc"], deps = [ ":proc_util", + ":test_main", ":test_util", + "@com_google_googletest//:gtest", ], ) @@ -84,7 +86,9 @@ cc_test( ":fs_util", ":posix_error", ":temp_path", + ":test_main", ":test_util", + "@com_google_googletest//:gtest", ], ) @@ -161,7 +165,11 @@ cc_test( name = "posix_error_test", size = "small", srcs = ["posix_error_test.cc"], - deps = [":posix_error"], + deps = [ + ":posix_error", + ":test_main", + "@com_google_googletest//:gtest", + ], ) cc_library( @@ -238,7 +246,11 @@ cc_test( name = "test_util_test", size = "small", srcs = ["test_util_test.cc"], - deps = [":test_util"], + deps = [ + ":test_main", + ":test_util", + "@com_google_googletest//:gtest", + ], ) cc_library( -- cgit v1.2.3