[zorg] r279593 - Run tests with keep going, so we run all the tests
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 17:01:44 PDT 2016
Author: cmatthews
Date: Tue Aug 23 19:01:44 2016
New Revision: 279593
URL: http://llvm.org/viewvc/llvm-project?rev=279593&view=rev
Log:
Run tests with keep going, so we run all the tests
If a test fails laster test targets won't be run. That is annoying.
Keep going when test targets fail.
Modified:
zorg/trunk/test/jenkins/test_build.py
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/test/jenkins/test_build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/test/jenkins/test_build.py?rev=279593&r1=279592&r2=279593&view=diff
==============================================================================
--- zorg/trunk/test/jenkins/test_build.py (original)
+++ zorg/trunk/test/jenkins/test_build.py Tue Aug 23 19:01:44 2016
@@ -53,7 +53,7 @@
# CHECK-SIMPLE: @@@ Tests @@@
# CHECK-SIMPLE: cd
-# CHECK-SIMPLE: 'env' 'MALLOC_LOG_FILE=/dev/null' '/usr/local/bin/ninja' '-v' 'check-all'
+# CHECK-SIMPLE: 'env' 'MALLOC_LOG_FILE=/dev/null' '/usr/local/bin/ninja' '-v' '-k' '0' 'check-all'
# Now Check Assertion Buiilds have --enable assertions
@@ -86,8 +86,8 @@
# CHECK-CMAKE: '-DLLVM_ENABLE_ASSERTIONS=Off'
# CHECK-CMAKE: -DLLVM_LIT_ARGS=--xunit-xml-output=testresults.xunit.xml -v
# CHECK-CMAKE: '/usr/local/bin/ninja'
-# CHECK-CMAKE: '/usr/local/bin/ninja' 'check' 'check-clang'
-# CHECK-CMAKE: '/usr/local/bin/ninja' 'check-all'
+# CHECK-CMAKE: '/usr/local/bin/ninja' '-k' '0' '-v' 'check' 'check-clang'
+# CHECK-CMAKE: '/usr/local/bin/ninja' '-k' '0' '-v' 'check-all'
# RUN: python %{src_root}/zorg/jenkins/build.py cmake build
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=279593&r1=279592&r2=279593&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Tue Aug 23 19:01:44 2016
@@ -250,7 +250,8 @@ def cmake_builder(target):
header("Ninja install")
run_cmd(conf.builddir(), ninja_cmd + ['install'])
footer()
-
+ # Run all the test targets.
+ ninja_cmd.extend(['-k', '0', '-v'])
if target == 'all' or target == 'test':
header("Ninja test")
run_cmd(conf.builddir(), ninja_cmd + ['check', 'check-clang'])
@@ -380,7 +381,7 @@ def clang_builder(target):
obj_dir = os.path.join(conf._build_dir, 'Build/')
obj_dir = os.path.join(conf.workspace, obj_dir)
- cmd = [NINJA, '-v', 'check-all']
+ cmd = [NINJA, '-v', '-k', '0', 'check-all']
if conf.assertions:
cmd[-1] += ' --param use_gmalloc=1 ' \
More information about the llvm-commits
mailing list