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/y2019/control_loops/drivetrain/localizer_test.cc b/y2019/control_loops/drivetrain/localizer_test.cc
index 87dbaee..1c9485a 100644
--- a/y2019/control_loops/drivetrain/localizer_test.cc
+++ b/y2019/control_loops/drivetrain/localizer_test.cc
@@ -563,7 +563,7 @@
// things don't appear to be unstable (since these tests do do a test of the
// full localizer + spline system, we should pay attention if there is actual
// instability rather than just poor tolerances).
-INSTANTIATE_TEST_CASE_P(
+INSTANTIATE_TEST_SUITE_P(
LocalizerTest, ParameterizedLocalizerTest,
::testing::Values(
// Checks a "perfect" scenario, where we should track perfectly.
diff --git a/y2019/control_loops/drivetrain/target_selector_test.cc b/y2019/control_loops/drivetrain/target_selector_test.cc
index 9bb7ef8..5933f3f 100644
--- a/y2019/control_loops/drivetrain/target_selector_test.cc
+++ b/y2019/control_loops/drivetrain/target_selector_test.cc
@@ -112,7 +112,7 @@
}
}
-INSTANTIATE_TEST_CASE_P(
+INSTANTIATE_TEST_SUITE_P(
TargetSelectorTest, TargetSelectorParamTest,
::testing::Values(
// When we are far away from anything, we should not register any
diff --git a/y2019/control_loops/superstructure/collision_avoidance_tests.cc b/y2019/control_loops/superstructure/collision_avoidance_tests.cc
index 90b1659..9ea373e 100644
--- a/y2019/control_loops/superstructure/collision_avoidance_tests.cc
+++ b/y2019/control_loops/superstructure/collision_avoidance_tests.cc
@@ -483,7 +483,7 @@
status_.message().intake()->position(), 0.001);
}
-INSTANTIATE_TEST_CASE_P(CollisionAvoidancePieceTest, CollisionAvoidanceTests,
+INSTANTIATE_TEST_SUITE_P(CollisionAvoidancePieceTest, CollisionAvoidanceTests,
::testing::Bool());
} // namespace testing