Menu

[r27]: / BuildScript / run-tests.cmd  Maximize  Restore  History

Download this file

50 lines (39 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@IF DEFINED NOECHO echo off
echo ====== Run tests ======
echo ====== Run tests ====== > %LOG_DIR%\run-tests.log
set PATHORG=%PATH%
PATH=%ROOT%\svn-win32-%VER%\svn-win32-%VER%\bin;%PATH%
pushd %ROOT%\%DIR%
echo ----- Test fsfs ------
echo ----- Test fsfs ------ >> %LOG_DIR%\run-tests.log
python win-tests.py -c -r -v >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
echo ----- Test bdb ------
echo ----- Test bdb ------ >> %LOG_DIR%\run-tests.log
python win-tests.py -c -r -v -f bdb >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
echo ----- Test svn ------
echo ----- Test svn ------ >> %LOG_DIR%\run-tests.log
netsh firewall add allowedprogram "%ROOT%\%DIR%\Release\subversion\svnserve\svnserve.exe" svnserve-%VER%-%HTTPDVER% >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
python win-tests.py -c -r -v -u svn://localhost >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
%SYSINTERNALS%\pskill.exe -t svnserve.exe
start "HTTPD" "%HTTPDINSTDIR%\bin\httpd.exe"
echo ----- Test http-neon ------
echo ----- Test http-neon ------ >> %LOG_DIR%\run-tests.log
python win-tests.py -c -r -v -u http://localhost:80%HTTPDVER% --http-library=neon >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
echo ----- Test http-serf ------
echo ----- Test http-serf ------ >> %LOG_DIR%\run-tests.log
python win-tests.py -c -r -v -u http://localhost:80%HTTPDVER% --http-library=serf >> %LOG_DIR%\run-tests.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
PATH=%PATHORG%
popd
exit /B 0
:TEST_FAIL
echo ****** Tests failed ****** >> %LOG_DIR%\run-tests.log
type %LOG_DIR%\run-tests.log
PATH=%PATHORG%
popd
exit /B 1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.