ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/testsuite/rundelphitest.bat
Revision: 56
Committed: Mon Mar 6 10:20:02 2017 UTC (7 years, 9 months ago) by tony
Content type: application/x-msdos-program
File size: 1078 byte(s)
Log Message:
Committing updates for Trunk

File Contents

# Content
1 @echo off
2 REM Test suite Configuration parameters
3 REM These may be modified if needed to suite local requirements
4
5 set DELPHIBIN=C:\Program Files\Embarcadero\RAD Studio\7.0\bin
6 set DIFF=C:\Program Files\GnuWin32\bin\diff.exe
7
8 set TESTOUTDIR=%TEMP%\fbintf-testsuite
9 set USERNAME=SYSDBA
10 set PASSWORD=masterkey
11 set EMPLOYEEDB=localhost:employee
12 set NEWDBNAME=localhost:%TESTOUTDIR%\testsuite1.fdb
13 set NEWDBNAME2=localhost:%TESTOUTDIR%\testsuite2.fdb
14 set BAKFILE=%TESTOUTDIR%\testsuite.gbk
15
16 rd /s /q testunits
17 mkdir testunits
18 mkdir %TESTOUTDIR%
19 del testsuite.exe
20 "%DELPHIBIN%\dcc32" -B -E. -N0testunits -I..\include;..\client\include -U..;..\client;..\client\2.5\;..\client\3.0;..\client\3.0\firebird testsuite.dpr
21
22 echo(
23 echo Starting Testsuite
24 echo(
25 IF EXIST "testsuite.exe" (
26 testsuite.exe -u %USERNAME% -p %PASSWORD% -e %EMPLOYEEDB% -n %NEWDBNAME% -s %NEWDBNAME2% -b %BAKFILE% -o testout.log %1
27 echo Comparing results with reference log
28 echo(
29 "%DIFF%" reference.log testout.log >diff.log
30 type diff.log
31 rd /s /q testunits
32 del testsuite.exe
33 )