diff options
| author | Lucas Perlind <perlindluca@gmail.com> | 2023-04-03 13:38:36 +1000 |
|---|---|---|
| committer | Lucas Perlind <perlindluca@gmail.com> | 2023-04-03 16:49:14 +1000 |
| commit | c59ad24856303c253fbc09f9e4e4f22fa9129f80 (patch) | |
| tree | c03ae05ab2678bc0596ada6b80e45f9f3f20da45 /tests/issues | |
| parent | 22e0f5ecd03fbf06428ae002a31ce7851d0356f6 (diff) | |
Make tests scripts error if a test fails
Additionally fixes tests that were found broken because
of this.
Diffstat (limited to 'tests/issues')
| -rw-r--r-- | tests/issues/run.bat | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/issues/run.bat b/tests/issues/run.bat index c526fd472..ea5feddaa 100644 --- a/tests/issues/run.bat +++ b/tests/issues/run.bat @@ -5,19 +5,14 @@ pushd build set COMMON=-collection:tests=..\.. -set ERROR_DID_OCCUR=0 - @echo on -..\..\..\odin test ..\test_issue_829.odin %COMMON% -file -..\..\..\odin test ..\test_issue_1592.odin %COMMON% -file -..\..\..\odin test ..\test_issue_2087.odin %COMMON% -file -..\..\..\odin build ..\test_issue_2113.odin %COMMON% -file -debug +..\..\..\odin test ..\test_issue_829.odin %COMMON% -file || exit /b +..\..\..\odin test ..\test_issue_1592.odin %COMMON% -file || exit /b +..\..\..\odin test ..\test_issue_2087.odin %COMMON% -file || exit /b +..\..\..\odin build ..\test_issue_2113.odin %COMMON% -file -debug || exit /b @echo off -if %ERRORLEVEL% NEQ 0 set ERROR_DID_OCCUR=1 - popd rmdir /S /Q build -if %ERROR_DID_OCCUR% NEQ 0 EXIT /B 1 |