[zorg] r260187 - Fix missing test xml results - Patch by Marc Schifer

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 17:36:31 PST 2016


Author: cmatthews
Date: Mon Feb  8 19:36:31 2016
New Revision: 260187

URL: http://llvm.org/viewvc/llvm-project?rev=260187&view=rev
Log:
Fix missing test xml results - Patch by Marc Schifer

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=260187&r1=260186&r2=260187&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Mon Feb  8 19:36:31 2016
@@ -285,6 +285,11 @@ def clang_builder(target):
             '-DLIBCXX_INSTALL_LIBRARY=Off',
             ]
 
+            lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v']
+            if conf.max_parallel_tests:
+                lit_flags += ['-j', conf.max_parallel_tests]
+            cmake_command.extend(['-DLLVM_LIT_ARGS={}'.format(' '.join(lit_flags))])
+
             if conf.lto:
                 cmake_command.extend([
                     '-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -flto -gline-tables-only -DNDEBUG',




More information about the llvm-commits mailing list