1 |
|
@echo off |
2 |
< |
#Test suite Configuration parameters |
3 |
< |
#These may be modified if needed to suite local requirements |
2 |
> |
REM Test suite Configuration parameters (FPCDIR and FPCBIN) |
3 |
> |
REM These may be modified if needed to suite local requirements |
4 |
|
|
5 |
< |
set FPCDIR=C:\lazarus\fpc\3.0.0 |
6 |
< |
set FPCBIN=%FPCDIR%\bin\i386-win32 |
5 |
> |
FOR %%V in (3.0.4 3.0.2 3.0.0) do ( |
6 |
> |
if EXIST C:\lazarus\fpc\%%V\bin\i386-win32\fpc.exe ( |
7 |
> |
set FPCDIR=C:\lazarus\fpc\%%V |
8 |
> |
set FPCBIN=C:\lazarus\fpc\%%V\bin\i386-win32 |
9 |
> |
Goto COMPILE |
10 |
> |
) |
11 |
> |
if EXIST C:\lazarus\fpc\%%V\bin\x86_64-win32\fpc.exe ( |
12 |
> |
set FPCDIR=C:\lazarus\fpc\%%V |
13 |
> |
set FPCBIN=C:\lazarus\fpc\%%V\bin\x86_64-win32 |
14 |
> |
Goto COMPILE |
15 |
> |
) |
16 |
> |
) |
17 |
> |
|
18 |
> |
if not EXIST %FPCBIN%\fpc.exe ( |
19 |
> |
echo "Unable to find fpc.exe" |
20 |
> |
goto :EOF |
21 |
> |
) |
22 |
> |
|
23 |
> |
:COMPILE |
24 |
|
set TESTOUTDIR=%TEMP%\fbintf-testsuite |
25 |
|
set USERNAME=SYSDBA |
26 |
|
set PASSWORD=masterkey |