[zorg] r188749 - [llvmlab] Shorten the name to lit_test_command and add in reloads for some absolute imports so reconfig works.

Michael Gottesman mgottesman at apple.com
Mon Aug 19 22:48:40 PDT 2013


Author: mgottesman
Date: Tue Aug 20 00:48:40 2013
New Revision: 188749

URL: http://llvm.org/viewvc/llvm-project?rev=188749&view=rev
Log:
[llvmlab] Shorten the name to lit_test_command and add in reloads for some absolute imports so reconfig works.

Modified:
    zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py?rev=188749&r1=188748&r2=188749&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LibCXXBuilder.py Tue Aug 20 00:48:40 2013
@@ -6,10 +6,14 @@ import buildbot.steps.source as source
 import buildbot.steps.source.svn as svn
 import buildbot.process.properties as properties
 
-import zorg.buildbot.commands.LitTestCommand
+import zorg.buildbot.commands.LitTestCommand as lit_test_command
 import zorg.buildbot.Artifacts as artifacts
 import zorg.buildbot.PhasedBuilderUtils as phased_builder_utils
 
+reload(lit_test_command)
+reload(artifacts)
+reload(phased_builder_utils)
+
 def getLibCXXBuilder():
     f = buildbot.process.factory.BuildFactory()
     
@@ -62,7 +66,7 @@ def getLibCXXBuilder():
             workdir='lit.src', haltOnFailure=True))
 
     # Run the tests with the system's dylib
-    f.addStep(zorg.buildbot.commands.LitTestCommand.LitTestCommand(
+    f.addStep(lit_test_command.LitTestCommand(
             name='test.libcxx.system',
             command=[
                 properties.WithProperties('%(builddir)s/lit.venv/bin/lit'),
@@ -73,7 +77,7 @@ def getLibCXXBuilder():
                 'sources/test'],
             workdir='.'))
     # Run the tests with the newly built dylib
-    f.addStep(zorg.buildbot.commands.LitTestCommand.LitTestCommand(
+    f.addStep(lit_test_command.LitTestCommand(
             name='test.libcxx.new',
             command=[
                 properties.WithProperties('%(builddir)s/lit.venv/bin/lit'),





More information about the llvm-commits mailing list