diff options
author | Michael Pratt <mpratt@google.com> | 2018-12-21 12:14:17 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-21 12:15:21 -0800 |
commit | 0e9b32485670bb321b9b2eee3f1860e0db43d377 (patch) | |
tree | 9d0c3b93138573c8d186150bafb5d528b3d0f2aa /test | |
parent | 1679ef31ef15344eba218a5251fa1fb1438b4cb7 (diff) |
Fix test util tests
We actually need to include test main!
PiperOrigin-RevId: 226524447
Change-Id: I9d9e631611183c7c1fbae1c20a222c9aeef269b2
Diffstat (limited to 'test')
-rw-r--r-- | test/util/BUILD | 16 |
1 files 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( |