summaryrefslogtreecommitdiffstats
path: root/tests/auto/compilesingle.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compilesingle.bat')
-rw-r--r--tests/auto/compilesingle.bat28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/compilesingle.bat b/tests/auto/compilesingle.bat
new file mode 100644
index 0000000..a9bb5f4
--- /dev/null
+++ b/tests/auto/compilesingle.bat
@@ -0,0 +1,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 \ No newline at end of file