forked from premiere/premiere-libtorrent
allow longer test timeouts when running under valgrind
This commit is contained in:
parent
0f3cb1b8a4
commit
5bf28dd5b2
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue