lit.cfg 321 Bytes
import lit.formats
config.name = 'googletest-timeout'
config.test_format = lit.formats.GoogleTest('DummySubDir', 'Test')

configSetTimeout = lit_config.params.get('set_timeout', '0')

if configSetTimeout == '1':
    # Try setting the max individual test time in the configuration
    lit_config.maxIndividualTestTime = 1