From 527ceb18c60a00b11f652678630f3a79670efc54 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Thu, 30 Jan 2020 12:24:55 +0100 Subject: [PATCH] Add a hint for limiting the test scope --- test/gtest_example.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/gtest_example.cpp b/test/gtest_example.cpp index acfe5d6b7..65d779ffd 100644 --- a/test/gtest_example.cpp +++ b/test/gtest_example.cpp @@ -16,5 +16,7 @@ TEST(TestTest, DummyTestExample) int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); + //::testing::GTEST_FLAG(filter) = "TestTest.DummyTestExample"; // Test only this one + //::testing::GTEST_FLAG(filter) = "TestTest.*"; // Test only the tests in this group return RUN_ALL_TESTS(); } -- GitLab