mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
Separate math/big test.
This commit is contained in:
@@ -76,3 +76,10 @@ jobs:
|
|||||||
cd tests\core
|
cd tests\core
|
||||||
call build.bat
|
call build.bat
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
- name: core:math/big tests
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
||||||
|
cd tests\core\math\big
|
||||||
|
call build.bat
|
||||||
|
timeout-minutes: 10
|
||||||
|
|||||||
+1
-15
@@ -18,18 +18,4 @@ echo ---
|
|||||||
echo Running core:strings tests
|
echo Running core:strings tests
|
||||||
echo ---
|
echo ---
|
||||||
%PATH_TO_ODIN% test strings %COMMON%
|
%PATH_TO_ODIN% test strings %COMMON%
|
||||||
del strings.exe
|
del strings.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%.*
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
@echo off
|
||||||
|
rem math/big tests
|
||||||
|
set PATH_TO_ODIN==..\..\..\..\odin
|
||||||
|
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 . %COMMON% -o:speed -out:%OUT_NAME%
|
||||||
|
python3 test.py %TEST_ARGS%
|
||||||
Reference in New Issue
Block a user