[zorg] r368943 - [monorepo_build] Teach the lldb-cmake builder about --cmake-test-target
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 16:05:00 PDT 2019
Author: vedantk
Date: Wed Aug 14 16:05:00 2019
New Revision: 368943
URL: http://llvm.org/viewvc/llvm-project?rev=368943&view=rev
Log:
[monorepo_build] Teach the lldb-cmake builder about --cmake-test-target
Tested with:
$ python ~/src/llvm-zorg/zorg/jenkins/monorepo_build.py lldb-cmake build --projects="clang;libcxx;libcxxabi;lldb;debuginfo-tests" --cmake-type=Release --cmake-flag="-DLLVM_ENABLE_MODULES=Off" --cmake-flag="-DLLVM_BUILD_INSTRUMENTED_COVERAGE=ON" --cmake-test-target check-llvm
Modified:
zorg/trunk/zorg/jenkins/monorepo_build.py
Modified: zorg/trunk/zorg/jenkins/monorepo_build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/monorepo_build.py?rev=368943&r1=368942&r2=368943&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/monorepo_build.py (original)
+++ zorg/trunk/zorg/jenkins/monorepo_build.py Wed Aug 14 16:05:00 2019
@@ -578,6 +578,11 @@ def lldb_cmake_builder(target, variant=N
['/usr/bin/env', 'TERM=vt100', NINJA, '-v', 'check-lldb'])
footer()
+ for test_target in conf.cmake_test_targets:
+ header("Run Custom Test: {0}".format(test_target))
+ run_cmd(conf.lldbbuilddir(), [NINJA, '-v', test_target])
+ footer()
+
def lldb_cmake_standalone_builder(target):
"""Do a CMake standalone build of lldb."""
More information about the llvm-commits
mailing list