Hi, I am running googletest from Visual Studio and targeting an embedded target device.I would like to run a limited set of tests which can be configured programmatically. I think the way to do this is through filtering.I have this as a basis (many different filter test string combinations have been tried). I do see the text "Note: Google Test filter = " on the console.::testing::GTEST_FLAG(filter) = "*test*:**";testing::InitGoogleTest(&argc, argv);RUN_ALL_TESTS();However, all the tests are always run.
As a test, I have also tried to set using command line -gtest_filter="*test*:*". Again all the tests are run.However -gtest_filter="*zzzz*", no tests are run. And setting ::testing::GTEST_FLAG(filter) = "*zzz*"; within the program, not tests are run.Any Suggestions? Can I get confirmation of the exact format of the filter needed and is it indeed the test_case_name and test_name defined in TEST(test_case_name, test_name) and TEST_F(test_case_name, test_name)Thanks.--
---
You received this message because you are subscribed to the Google Groups "Google C++ Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframework+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframework+unsubscribe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.