[zorg] r256029 - LLDB Xcode build: run gtest and lldb-python-test-suite

Todd Fiala via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 12:58:45 PST 2015


Author: tfiala
Date: Fri Dec 18 14:58:45 2015
New Revision: 256029

URL: http://llvm.org/viewvc/llvm-project?rev=256029&view=rev
Log:
LLDB Xcode build: run gtest and lldb-python-test-suite

This enables the C++ Unit Tests (gtests) and the LLDB
Python-based test suite as build steps at the end of 
the build step.  In the future we may want to break
these into separate steps, but for now they're all
combined at the end of the build phase.

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=256029&r1=256028&r2=256029&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Fri Dec 18 14:58:45 2015
@@ -270,14 +270,41 @@ def lldb_builder():
         "xcodebuild",
         "-arch", "x86_64",
         "-configuration", "Debug",
-        "-scheme", "lldb-tool",
+        "-scheme", "desktop",
         "-derivedDataPath", conf.lldbbuilddir(),
         "DEBUGSERVER_USE_FROM_SYSTEM=1"]
 
-    header("Make lldb-tool")
+    header("Build Xcode desktop scheme")
     run_cmd("lldb", xcodebuild_cmd)
     footer()
 
+    # Run C++ test suite (gtests)
+
+    xcodebuild_cmd = [
+        "xcodebuild",
+        "-arch", "x86_64",
+        "-configuration", "Debug",
+        "-target", "lldb-gtest",
+        "-derivedDataPath", conf.lldbbuilddir(),
+        "DEBUGSERVER_USE_FROM_SYSTEM=1"]
+
+    header("Build Xcode lldb-gtest target")
+    run_cmd("lldb", xcodebuild_cmd)
+    footer()
+
+    # Run LLDB Python test suite
+
+    xcodebuild_cmd = [
+        "xcodebuild",
+        "-arch", "x86_64",
+        "-configuration", "Debug",
+        "-target", "lldb-python-test-suite",
+        "-derivedDataPath", conf.lldbbuilddir(),
+        "DEBUGSERVER_USE_FROM_SYSTEM=1"]
+
+    header("Build Xcode lldb-python-test-suite target")
+    run_cmd("lldb", xcodebuild_cmd)
+    footer()
 
 def check_repo_state(path):
     """Check the SVN repo at the path has all the




More information about the llvm-commits mailing list