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 |
> |
if EXIST C:\lazarus\fpc\%%V\bin\x86_64-win64\fpc.exe ( |
17 |
> |
set FPCDIR=C:\lazarus\fpc\%%V |
18 |
> |
set FPCBIN=C:\lazarus\fpc\%%V\bin\x86_64-win64 |
19 |
> |
Goto COMPILE |
20 |
> |
) |
21 |
> |
) |
22 |
> |
|
23 |
> |
if not EXIST %FPCBIN%\fpc.exe ( |
24 |
> |
echo "Unable to find fpc.exe" |
25 |
> |
goto :EOF |
26 |
> |
) |
27 |
> |
|
28 |
> |
:COMPILE |
29 |
|
set TESTOUTDIR=%TEMP%\fbintf-testsuite |
30 |
|
set USERNAME=SYSDBA |
31 |
|
set PASSWORD=masterkey |