Skip to content

Commit 31f3ecd

Browse files
Adding missing config parsing test
1 parent 379ada7 commit 31f3ecd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Src/Tests/RunAllTests.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ GOTO :FINAL
2222
:RUN_TEST <testFile>
2323
@REM Setlocal EnableDelayedExpansion
2424
IF NOT EXIST "%~1" (
25-
ECHO "[Auto Test Warning] %~1 doesn't exist, skipping"
25+
ECHO "%~1 doesn't exist"
2626
ECHO ""
27-
EXIT /b
27+
GOTO :FAILED
2828
)
2929
PUSHD "%~dp1"
3030
CALL "%~1"
@@ -54,6 +54,7 @@ CALL :RUN_TEST "%~dp0\%MODE%DependencyInfoTest.exe"
5454
CALL :RUN_TEST "%~dp0\%MODE%ScriptInfoTest.exe"
5555
CALL :RUN_TEST "%~dp0\%MODE%ProfileTest.exe"
5656
CALL :RUN_TEST "%~dp0\%MODE%BuildTypeTest.exe"
57+
CALL :RUN_TEST "%~dp0\%MODE%ConfigParsingTest.exe"
5758

5859
EXIT 0
5960

Src/Tests/RunAllTests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function runTest()
99
$1
1010
else
1111
echo "[Auto Test Warning] $1 doesn't exist, skipping"
12-
echo ""
12+
exit 1
1313
fi
1414
}
1515

@@ -30,3 +30,4 @@ runTest ./DependencyInfoTest
3030
runTest ./ScriptInfoTest
3131
runTest ./ProfileTest
3232
runTest ./BuildTypeTest
33+
runTest ./ConfigParsingTest

0 commit comments

Comments
 (0)