aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2024-06-04 19:51:03 +0200
committerDanielGavin <danielgavin5@hotmail.com>2024-06-04 19:51:03 +0200
commit5805fd0b688446eeb23528497972b9f934208f1a (patch)
treeb566127cd24f615e864231114bf2bcf3f4423275 /build.sh
parent6c82924d0a56ca6868e89ba2559a0bf9ca07c16b (diff)
Make tests single threaded
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index f06cae9..d494fee 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:src=../src -o:speed $@
+ odin test ../tests -collection:src=../src -o:speed $@ -define:ODIN_TEST_THREADS=1
if ([ $? -ne 0 ])
then
@@ -40,7 +40,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:src=../src -test-name:$@
+ odin test ../tests -collection:src=../src -test-name:$@ -define:ODIN_TEST_THREADS=1
shift
@@ -60,7 +60,7 @@ then
#BUG in odin test, it makes the executable with the same name as a folder and gets confused.
cd tests
- odin test ../tests -collection:src=../src $@
+ odin test ../tests -collection:src=../src $@ -define:ODIN_TEST_THREADS=1
if ([ $? -ne 0 ])
then