-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathtest.bat
More file actions
40 lines (28 loc) · 734 Bytes
/
test.bat
File metadata and controls
40 lines (28 loc) · 734 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
rem Inno Setup
rem Copyright (C) 1997-2026 Jordan Russell
rem Portions by Martijn Laan
rem For conditions of distribution and use, see LICENSE.TXT.
rem
rem Batch file to compile and run ISTestTool unit tests
setlocal
cd /d %~dp0
call :test x86
if errorlevel 1 goto failed
echo Cleaning output of previous build
del Files\ISTestTool.exe
call :test x64
if errorlevel 1 goto failed
echo Success!
exit /b 0
:failed
echo *** FAILED ***
exit /b 1
:test
call .\compile.bat %~1 istesttool
if errorlevel 1 exit /b 1
echo Compiling %~1 Inno Setup Test Tool done
Files\ISTestTool.exe Projects\Bin\Script.Test.iss
if errorlevel 1 exit /b 1
echo Testing %~1 Inno Setup done
exit /b