Update googletest to latest master
Local changes required:
-Added googletest tests to CI script.
-For merge conflicts, preferred upstream in all cases.
-Added in a -Wno-unused-parameters, and removed some "-pthread"'s to
clean up obnoxious compiler warnings about unused flags.
-Added rules_python to WORKSPACE to make googletest happy.
-Update *_CASE_P to *_SUITE_P
Merge commit '33cf340fc114ccb0573488547776b0a8966b8108' into HEAD
Change-Id: Ie0caf2e61afe569038a25380e1ed5f8b41595900
diff --git a/aos/events/shm_event_loop_test.cc b/aos/events/shm_event_loop_test.cc
index 2a2b706..5524597 100644
--- a/aos/events/shm_event_loop_test.cc
+++ b/aos/events/shm_event_loop_test.cc
@@ -77,10 +77,10 @@
::testing::Values(DoTimingReports::kYes, DoTimingReports::kNo));
}
-INSTANTIATE_TEST_CASE_P(ShmEventLoopCommonTest, AbstractEventLoopTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopCommonTest, AbstractEventLoopTest,
CommonParameters());
-INSTANTIATE_TEST_CASE_P(ShmEventLoopCommonDeathTest, AbstractEventLoopDeathTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopCommonDeathTest, AbstractEventLoopDeathTest,
CommonParameters());
} // namespace
@@ -321,13 +321,13 @@
// TODO(austin): Test that missing a deadline with a timer recovers as expected.
-INSTANTIATE_TEST_CASE_P(ShmEventLoopCopyTest, ShmEventLoopTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopCopyTest, ShmEventLoopTest,
::testing::Values(ReadMethod::COPY));
-INSTANTIATE_TEST_CASE_P(ShmEventLoopPinTest, ShmEventLoopTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopPinTest, ShmEventLoopTest,
::testing::Values(ReadMethod::PIN));
-INSTANTIATE_TEST_CASE_P(ShmEventLoopCopyDeathTest, ShmEventLoopDeathTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopCopyDeathTest, ShmEventLoopDeathTest,
::testing::Values(ReadMethod::COPY));
-INSTANTIATE_TEST_CASE_P(ShmEventLoopPinDeathTest, ShmEventLoopDeathTest,
+INSTANTIATE_TEST_SUITE_P(ShmEventLoopPinDeathTest, ShmEventLoopDeathTest,
::testing::Values(ReadMethod::PIN));
} // namespace testing