Setting the GTEST_FILTER environment variable has no effect on Windows |
||
Issue descriptionWhat steps will reproduce the problem? (1) python tools/swarming_client/swarming.py trigger -S https://chromium-swarm.appspot.com -I https://isolateserver.appspot.com -s ff6e7942e2a5e0b2a8ab0afaf3813bb12feab26d -d os Windows-7-SP1 -d pool Chrome -e GTEST_FILTER IEImporterBrowserTest.IE7ImporterPasswordsTest What is the expected result? Only the IEImporterBrowserTest.IE7ImporterPasswordsTest test runs. What happens instead? All tests run.
,
Jan 26 2018
My mistake, I get the same result by setting GTEST_FILTER locally. So it does appear that I was unaware that Google Test does not respect GTEST_FILTER. I somehow assumed that it was a standard feature of Google Test, but taking a closer look it appears to be an optional feature: https://cs.chromium.org/chromium/src/third_party/googletest/src/googletest/src/gtest.cc?type=cs&q=GTEST_TEST_FILTER_ENV_VAR_&l=194 Also, I didn't know that you could specify additional command line arguments to swarming jobs like that. I don't know how I managed to miss it since it was right at the top of the help message for "swarming.py trigger". Thanks for the hint!
,
Jan 26 2018
Boss......>..you..sesoooo !
,
Sep 30
|
||
►
Sign in to add a comment |
||
Comment 1 by mar...@chromium.org
, Jan 26 2018Components: -Infra>Platform>Swarming Test
Owner: p...@chromium.org
Status: Assigned (was: Untriaged)