Home | History | Annotate | Download | only in test

Lines Matching refs:gtest_filter

34 the GTEST_FILTER environment variable or the --gtest_filter flag.
86 FILTER_ENV_VAR = 'GTEST_FILTER'
94 FILTER_FLAG = 'gtest_filter'
257 def RunAndVerify(self, gtest_filter, tests_to_run):
267 # test the case when the variable is not supplied (i.e., gtest_filter is
270 if CAN_TEST_EMPTY_FILTER or gtest_filter != '':
271 SetEnvVar(FILTER_ENV_VAR, gtest_filter)
279 if gtest_filter is None:
282 args = ['--%s=%s' % (FILTER_FLAG, gtest_filter)]
287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run,
296 gtest_filter: A filter to apply to the tests.
309 # test the case when the variable is not supplied (i.e., gtest_filter is
312 if CAN_TEST_EMPTY_FILTER or gtest_filter != '':
313 SetEnvVar(FILTER_ENV_VAR, gtest_filter)
325 def RunAndVerifyAllowingDisabled(self, gtest_filter, tests_to_run):
332 gtest_filter: A filter to apply to the tests.
340 if gtest_filter is not None:
341 args.append('--%s=%s' % (FILTER_FLAG, gtest_filter))
614 gtest_filter = 'HasDeathTest.*:SeqP/*'
627 self.RunAndVerifyWithSharding(gtest_filter, 3, expected_tests,
629 self.RunAndVerifyWithSharding(gtest_filter, 5, expected_tests,