[zorg] r331782 - Add timeouts to tests
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue May 8 10:53:35 PDT 2018
Author: cmatthews
Date: Tue May 8 10:53:35 2018
New Revision: 331782
URL: http://llvm.org/viewvc/llvm-project?rev=331782&view=rev
Log:
Add timeouts to tests
I think we are not using timeouts per test in Jenkins currently. That
is annoying when tests spin because the whole build times out.
Modified:
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=331782&r1=331781&r2=331782&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Tue May 8 10:53:35 2018
@@ -272,7 +272,7 @@ def cmake_builder(target):
if conf.svn_rev != 'NONE':
cmake_cmd += ["-DSVN_REVISION={}".format(conf.svn_rev)]
- lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v']
+ lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '--timeout=600']
if conf.max_parallel_tests:
lit_flags += ['-j', conf.max_parallel_tests]
cmake_cmd += ['-DLLVM_LIT_ARGS={}'.format(' '.join(lit_flags))]
@@ -410,7 +410,7 @@ def clang_builder(target):
cmake_command.extend(['-DCMAKE_C_COMPILER=' + conf.CC(),
'-DCMAKE_CXX_COMPILER=' + conf.CC() + "++"])
- lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v']
+ lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '--timeout=600']
if conf.max_parallel_tests:
lit_flags += ['-j', conf.max_parallel_tests]
cmake_command.extend(
More information about the llvm-commits
mailing list