You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/04/01 18:00:47 UTC
svn commit: r930024 - in
/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn:
svn-config.cmd.template svntest-bindings.cmd svntest-build-bindings.cmd
svntest-build.cmd svntest-cleanup.cmd svntest-template.cmd svntest-test.cmd
Author: rhuijben
Date: Thu Apr 1 16:00:47 2010
New Revision: 930024
URL: http://svn.apache.org/viewvc?rev=930024&view=rev
Log:
Initial add of the scripts running the two new Windows builbot
instances. The scripts are not final, but they currently work
good enough to run the bots.
* tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd
* tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd
* tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd
* tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd
* tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
* tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template
* tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd
New files.
Added:
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd (with props)
subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd (with props)
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template Thu Apr 1 16:00:47 2010
@@ -0,0 +1,11 @@
+@echo off
+CALL "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
+
+SET TESTDIR=E:\Full
+SET TESTPORT=1234
+
+SET TEMP=%TESTDIR%\temp
+SET TMP=%TEMP%
+
+IF NOT EXIST "%TESTDIR%\" MKDIR "%TESTDIR%"
+IF NOT EXIST "%TEMP%\" MKDIR "%TEMP%"
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svn-config.cmd.template
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,9 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS
+
+CALL ..\svn-config.cmd
+IF ERRORLEVEL 1 EXIT /B 1
+
+
+
+
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-bindings.cmd
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,8 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
+
+CALL ..\svn-config.cmd
+IF ERRORLEVEL 1 EXIT /B 1
+
+msbuild subversion_vcnet.sln /p:Configuration=Debug /p:Platform=win32
+IF ERRORLEVEL 1 EXIT /B 1
\ No newline at end of file
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build-bindings.cmd
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,15 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
+
+CALL ..\svn-config.cmd
+IF ERRORLEVEL 1 EXIT /B 1
+
+PUSHD ..\deps
+
+nant gen-dev -D:wc=..\build -D:impBase=../deps/build/win32
+IF ERRORLEVEL 1 EXIT /B 1
+
+POPD
+
+msbuild subversion_vcnet.sln /p:Configuration=Debug /p:Platform=win32 /t:__ALL_TESTS__
+IF ERRORLEVEL 1 EXIT /B 1
\ No newline at end of file
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-build.cmd
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,28 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS
+CALL ..\svn-config.cmd
+
+IF NOT EXIST "..\deps\" MKDIR "..\deps"
+
+PUSHD ..\deps
+ECHO Checking dependencies in %CD%
+
+IF NOT EXIST "imports\" (
+ svn co --username guest --password "" http://sharpsvn.open.collab.net/svn/sharpsvn/trunk/imports imports
+)
+IF NOT EXIST build\imports.done (
+ copy /y imports\dev-default.build default.build
+ nant build
+ IF NOT ERRORLEVEL 1 (
+ echo. > build\imports.done
+ )
+)
+
+POPD
+
+IF EXIST subversion_vcnet.sln (
+ msbuild subversion_vcnet.sln /p:Configuration=Debug /p:Platform=Win32 /t:clean
+)
+IF EXIST "debug\" rmdir /s /q debug
+
+exit /B 0
\ No newline at end of file
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,9 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS
+
+CALL ..\svn-config.cmd
+IF ERRORLEVEL 1 EXIT /B 1
+
+
+
+
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-template.cmd
------------------------------------------------------------------------------
svn:eol-style = native
Added: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd?rev=930024&view=auto
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd (added)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd Thu Apr 1 16:00:47 2010
@@ -0,0 +1,68 @@
+@echo off
+SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
+
+CALL ..\svn-config.cmd
+IF ERRORLEVEL 1 EXIT /B 1
+
+
+SET MODE=-d
+SET PARALLEL=
+SET ARGS=
+
+SET FSFS=
+SET LOCAL=
+:next
+
+IF "%1" == "-r" (
+ SET MODE=-r
+ SHIFT
+) ELSE IF "%1" == "-d" (
+ SET MODE=-d
+ SHIFT
+) ELSE IF "%1" == "-p" (
+ SET PARALLEL=-p
+ SHIFT
+) ELSE IF "%1" == "fsfs" (
+ SET FSFS=1
+ SHIFT
+) ELSE IF "%1" == "local" (
+ SET LOCAL=1
+ SHIFT
+) ELSE IF "%1" == "svn" (
+ SET SVN=1
+ SHIFT
+) ELSE IF "%1" == "serf" (
+ SET SERF=1
+ SHIFT
+) ELSE (
+ SET ARGS=!ARGS! -t %1
+ SHIFT
+)
+
+IF NOT "%1" == "" GOTO next
+
+
+IF NOT EXIST "%TESTDIR%\bin" MKDIR "%TESTDIR%\bin"
+xcopy /y /i ..\deps\release\bin\* "%TESTDIR%\bin"
+
+PATH E:\w2k3\bin;%PATH%
+
+if "%LOCAL%+%FSFS%" == "1+1" (
+ echo win-tests.py -c %PARALLEL% %MODE% -f fsfs %ARGS% "%TESTDIR%\tests"
+ win-tests.py -c %PARALLEL% -v %MODE% -f fsfs %ARGS% "%TESTDIR%\tests"
+ IF ERRORLEVEL 1 EXIT /B 1
+)
+
+if "%SVN%+%FSFS%" == "1+1" (
+ taskkill /im svnserve.exe /f
+ echo win-tests.py -c %PARALLEL% %MODE% -f fsfs -u svn://localhost %ARGS% "%TESTDIR%\tests"
+ win-tests.py -c %PARALLEL% -v %MODE% -f fsfs -u svn://localhost %ARGS% "%TESTDIR%\tests"
+ IF ERRORLEVEL 1 EXIT /B 1
+)
+
+if "%SERF%+%FSFS%" == "1+1" (
+ taskkill /im httpd.exe /f
+ echo win-tests.py -c %PARALLEL% %MODE% -f fsfs --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+ win-tests.py -c %PARALLEL% %MODE% -f fsfs --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+ IF ERRORLEVEL 1 EXIT /B 1
+)
Propchange: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
------------------------------------------------------------------------------
svn:eol-style = native