diff options
Diffstat (limited to 'tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh')
-rwxr-xr-x | tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh b/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh index 8d70769..0918dbc 100755 --- a/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh +++ b/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh @@ -54,6 +54,13 @@ else parallel=${SVNBB_PARALLEL} fi +# An optional parameter tells us if this build should use Python 3. +if [ "$3" = "python3" ]; then + test -n "${SVNBB_PYTHON3ENV}" \ + && . ${SVNBB_PYTHON3ENV}/bin/activate \ + && export PYTHON="$(which python)" +fi + # # Step 0: Create a directory for the test log files # |