[zorg] r183170 - Add steps to pull the LNT sources and the LLVM test-suite for LNT builders.

David Dean david_dean at apple.com
Mon Jun 3 16:42:07 PDT 2013


Author: ddean
Date: Mon Jun  3 18:42:07 2013
New Revision: 183170

URL: http://llvm.org/viewvc/llvm-project?rev=183170&view=rev
Log:
Add steps to pull the LNT sources and the LLVM test-suite for LNT builders.

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

Modified: zorg/trunk/zorg/buildbot/builders/LNTBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LNTBuilder.py?rev=183170&r1=183169&r2=183170&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LNTBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LNTBuilder.py Mon Jun  3 18:42:07 2013
@@ -217,5 +217,29 @@ def CreateLNTNightlyFactory(nt_flags, cc
                   extract_fn=_get_liblto,
                   workdir=WithProperties('%(builddir)s')))
         nt_flags.extend(['--liblto-path', WithProperties('%(builddir)s/%(lto_path)s')])
+    # Get the LNT sources.
+    f.addStep(buildbot.steps.shell.ShellCommand(
+            name = 'svn.clean.lnt',
+            command = ['svn', 'cleanup'],
+            haltOnFailure=False, flunkOnFailure=False,
+            description = ['svn clean lnt'],
+            workdir='lnt'))
+    f.addStep(SVN(name='pull.lnt', mode='full', method='fresh',
+                  repourl='http://llvm.org/svn/llvm-project/lnt/trunk',
+                  haltOnFailure=False, flunkOnFailure=False,
+                  workdir='lnt', alwaysUseLatest=True, retry = (60, 5),
+                  description='pull.lnt'))
+    # Get the LLVM test-suite sources.
+    f.addStep(buildbot.steps.shell.ShellCommand(
+            name = 'svn.clean.tests',
+            command = ['svn', 'cleanup'],
+            haltOnFailure=False, flunkOnFailure=False,
+            description = ['svn clean test-suite'],
+            workdir='test-suite'))
+    f.addStep(SVN(name='pull.test-suite', mode='full', method='fresh',
+                  repourl='http://llvm.org/svn/llvm-project/test-suite/trunk',
+                  haltOnFailure=False, flunkOnFailure=False,
+                  workdir='test-suite', alwaysUseLatest=True, retry = (60, 5),
+                  description='pull.test-suite'))
 
     return f





More information about the llvm-commits mailing list