Skip to content

Commit

Permalink
Disable FANCY_OUTPUT in Odin test scripts
Browse files Browse the repository at this point in the history
This should tidy up the CI output logs a bit.
  • Loading branch information
Feoramund committed Jun 2, 2024
1 parent d581dbb commit 890fe07
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/benchmark/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ODIN=../../odin
COMMON=-no-bounds-check -vet -strict-style
COMMON=-no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false

all: crypto_bench \
hash_bench
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmark/build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set COMMON=-no-bounds-check -vet -strict-style
set COMMON=-no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false
set PATH_TO_ODIN==..\..\odin

echo ---
Expand All @@ -10,4 +10,4 @@ echo ---
echo ---
echo Running core:hash benchmarks
echo ---
%PATH_TO_ODIN% test hash %COMMON% -o:speed -out:bench_hash.exe || exit /b
%PATH_TO_ODIN% test hash %COMMON% -o:speed -out:bench_hash.exe || exit /b
2 changes: 1 addition & 1 deletion tests/core/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ODIN=../../odin
PYTHON=$(shell which python3)
COMMON=-no-bounds-check -vet -strict-style
COMMON=-no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false

all: all_bsd \
net_test
Expand Down
2 changes: 1 addition & 1 deletion tests/core/build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set COMMON=-no-bounds-check -vet -strict-style
set COMMON=-no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false
set PATH_TO_ODIN==..\..\odin
python3 download_assets.py
echo ---
Expand Down
2 changes: 1 addition & 1 deletion tests/core/math/big/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set TEST_ARGS=-fast-tests
set TEST_ARGS=-no-random
set TEST_ARGS=
set OUT_NAME=math_big_test_library.dll
set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style
set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style -define:ODIN_TEST_FANCY=false
echo ---
echo Running core:math/big tests
echo ---
Expand Down
2 changes: 1 addition & 1 deletion tests/issues/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if not exist "build\" mkdir build
pushd build

set COMMON=-collection:tests=..\..
set COMMON=-collection:tests=..\.. -define:ODIN_TEST_FANCY=false

@echo on

Expand Down
2 changes: 1 addition & 1 deletion tests/issues/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
mkdir -p build
pushd build
ODIN=../../../odin
COMMON="-collection:tests=../.."
COMMON="-collection:tests=../.. -define:ODIN_TEST_FANCY=false"

NO_NIL_ERR="Error: "

Expand Down
2 changes: 1 addition & 1 deletion tests/vendor/build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set COMMON=-show-timings -no-bounds-check -vet -strict-style
set COMMON=-show-timings -no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false
set PATH_TO_ODIN==..\..\odin

echo ---
Expand Down

0 comments on commit 890fe07

Please sign in to comment.