3 config.name = "googletest-timeout"
4 config.test_format = lit.formats.GoogleTest("DummySubDir", "Test")
6 configSetTimeout = lit_config.params.get("set_timeout", "0")
7 config.environment["GTEST_FILTER"] = lit_config.params.get("gtest_filter")
9 if configSetTimeout == "1":
10 # Try setting the max individual test time in the configuration
11 lit_config.maxIndividualTestTime = 1