Added support for is_legacy_mode to ABITestsuitBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@375080 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/zorg/buildbot/builders/ABITestsuitBuilder.py b/zorg/buildbot/builders/ABITestsuitBuilder.py
index 6d7510f..de26a04 100644
--- a/zorg/buildbot/builders/ABITestsuitBuilder.py
+++ b/zorg/buildbot/builders/ABITestsuitBuilder.py
@@ -1,5 +1,4 @@
from buildbot.process.properties import WithProperties
-from buildbot.steps.source import SVN
from zorg.buildbot.builders import UnifiedTreeBuilder
from zorg.buildbot.commands.CmakeCommand import CmakeCommand
@@ -46,6 +45,9 @@
env=merged_env,
**kwargs) # Pass through all the extra arguments.
+ # Consume is_legacy_mode if given.
+ # TODO: Remove this once legacy mode gets dropped.
+ kwargs.pop('is_legacy_mode', None)
f.addStep(NinjaCommand(name="build-unified-tree",
haltOnFailure=True,
@@ -56,10 +58,11 @@
))
# Checkout the test-suite.
- f.addStep(SVN(name='svn-test-suite',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/test-suite/',
- defaultBranch='trunk',
- workdir='test-suite'))
+ f.addGetSourcecodeForProject(
+ project='test-suite',
+ src_dir='test-suite',
+ alwaysUseLatest=True,
+ **kwargs)
# Run the ABI test.
abi_test_env = {