aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2024-06-04 19:45:21 +0200
committerDanielGavin <danielgavin5@hotmail.com>2024-06-04 19:45:21 +0200
commit6c82924d0a56ca6868e89ba2559a0bf9ca07c16b (patch)
tree7263c9c3912978f68898fa85be6786436965c7b1 /build.bat
parentef77d6ab12be2c6d47ff33c3e7a04884c915e97d (diff)
Start fixing memory leaks on tests.
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.bat b/build.bat
index e0b416c..164f0bd 100644
--- a/build.bat
+++ b/build.bat
@@ -12,9 +12,9 @@ if "%1" == "CI" (
call "tools/odinfmt/tests.bat"
if %errorlevel% neq 0 exit /b 1
) else if "%1" == "test" (
- odin test tests -collection:src=src -debug
+ odin test tests -collection:src=src -debug -define:ODIN_TEST_THREADS=1
) else if "%1" == "single_test" (
- odin test tests -collection:src=src -test-name:%2
+ odin test tests -collection:src=src -define:ODIN_TEST_NAMES=%2 -debug
) else if "%1" == "debug" (
odin build src\ -show-timings -collection:src=src -microarch:native -out:ols.exe -o:minimal -no-bounds-check -use-separate-modules -debug
) else (