llvm-for-llvmta/utils/lit/tests/Inputs/googletest-timeout/lit.cfg

10 lines
321 B
INI
Raw Normal View History

2022-04-25 10:02:23 +02:00
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