summaryrefslogtreecommitdiffstats
path: root/tests/auto/compilesingle.bat
blob: a9bb5f469cb3705313454561128b7738339020d4 (plain)
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
@echo off
REM Compile test case from folder as a parameter

pushd .
cd %1
REM call abld reallyclean
call qmake -r
call bldmake bldfiles

REM reallyclean is not always deleting executables for some reason, so do that explicitly before building

IF %2 == winscw (
call abld reallyclean winscw
call del /q /f \epoc32\release\winscw\udeb\tst_%1.exe
call abld build winscw udeb
)
IF %2 == armv5 (
call abld reallyclean armv5
call del /q /f \epoc32\release\armv5\urel\tst_%1.exe
call abld build armv5 urel
)
IF %2 == gcce (
call abld reallyclean gcce
call del /q /f \epoc32\release\gcce\urel\tst_%1.exe
call abld build gcce urel
)

popd