Fix compiler warning due to missing function prototype.
[svn.git] / tools / buildbot / slaves / xp-vc60-ia32 / svncheck.bat
blob124df1cb5bee8bfaf9cebe2fbeedade0fdc4d722
1 IF NOT EXIST ..\config.bat GOTO noconfig\r
2 call ..\config.bat\r
3 \r
4 set FS_TYPE=%1\r
5 set RA_TYPE=%2\r
6 \r
7 REM By default, return zero\r
8 set ERR=0\r
9 \r
10 if "%RA_TYPE%"=="ra_local" goto ra_local\r
11 if "%RA_TYPE%"=="ra_svn"   goto ra_svn\r
12 if "%RA_TYPE%"=="ra_dav"   goto ra_dav\r
14 echo Unknown ra method '%RA_TYPE%'\r
15 EXIT 3\r
17 :ra_local\r
18 python win-tests.py %TEST_DIR% -f %FS_TYPE% -c -r \r
19 if ERRORLEVEL 1 set ERR=1\r
20 EXIT %ERR%\r
22 :ra_svn\r
23 python win-tests.py %TEST_DIR% -f %FS_TYPE% -c -r -u svn://localhost\r
24 if ERRORLEVEL 1 set ERR=1\r
25 EXIT %ERR%\r
27 :ra_dav\r
28 python win-tests.py %TEST_DIR% -f %FS_TYPE% -c -r --httpd-dir="%HTTPD_BIN_DIR%" --httpd-port 1234\r
29 if ERRORLEVEL 1 set ERR=1\r
30 EXIT %ERR%\r
32 :noconfig\r
33 echo File config.bat not found. Please copy it from config.bat.tmpl and tweak for you.\r
34 EXIT 2