Open GoogleCodeExporter opened 9 years ago
RUN_ALL_TESTS() calls RunAllTests() calls FilterTests() which sets the
should_run_ field.
There's what looks like a deliberate wndow of opportunity for main() authors to
manipulate the filters between GoogleTestInit() time and RUN_ALL_TESTS() time,
so it may not be possible to set should_run_ earlier.
Original comment by billydon...@google.com
on 14 Oct 2014 at 4:47
With your suggestion I've found out a way to walkaround it by simply running
the test with GTEST_FLAG(list_tests) set to true, before checking the stuffs I
need.
Thank you for the support ;)
Original comment by genesisl...@gmail.com
on 14 Oct 2014 at 6:03
Original issue reported on code.google.com by
genesisl...@gmail.com
on 13 Oct 2014 at 9:52Attachments: