allow longer test timeouts when running under valgrind

This commit is contained in:
Arvid Norberg 2013-09-04 05:52:43 +00:00
parent 0f3cb1b8a4
commit 5bf28dd5b2
1 changed files with 4 additions and 0 deletions

View File

@ -228,6 +228,10 @@ def main(argv):
if 'time_limit' in cfg:
time_limit = int(cfg['time_limit'])
# it takes a bit longer to run in valgrind
if 'launcher=valgrind' in options:
time_limit *= 2
architecture = platform.machine()
build_platform = platform.system() + '-' + platform.release()