Move math/big tests under tests/.

This commit is contained in:
Jeroen van Rijn
2021-09-07 19:51:56 +02:00
parent 49011f5198
commit f7601a759b
5 changed files with 27 additions and 22 deletions
+23 -2
View File
@@ -1,6 +1,27 @@
@echo off
set COMMON=-show-timings -no-bounds-check -vet -strict-style
set PATH_TO_ODIN==..\..\odin
python3 download_assets.py
:python3 download_assets.py
echo ---
echo Running core:image tests
echo ---
%PATH_TO_ODIN% test image %COMMON%
%PATH_TO_ODIN% test compress %COMMON%
del image.exe
echo ---
echo Running core:compress tests
echo ---
%PATH_TO_ODIN% test compress %COMMON%
del compress.exe
rem math/big tests
set TEST_ARGS=-fast-tests
set TEST_ARGS=
set OUT_NAME=math_big_test_library
set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style
echo ---
echo Running core:math/big tests
echo ---
%PATH_TO_ODIN% build math/big %COMMON% -o:speed -out:%OUT_NAME%
python3 math/big/test.py %TEST_ARGS%
del %OUT_NAME%.*