mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Tests: Integrate strings into CI.
This commit is contained in:
+5
-1
@@ -1,7 +1,7 @@
|
|||||||
ODIN=../../odin
|
ODIN=../../odin
|
||||||
PYTHON=$(shell which python3)
|
PYTHON=$(shell which python3)
|
||||||
|
|
||||||
all: download_test_assets image_test compress_test
|
all: download_test_assets image_test compress_test strings_test
|
||||||
|
|
||||||
download_test_assets:
|
download_test_assets:
|
||||||
$(PYTHON) download_assets.py
|
$(PYTHON) download_assets.py
|
||||||
@@ -13,3 +13,7 @@ image_test:
|
|||||||
compress_test:
|
compress_test:
|
||||||
$(ODIN) test compress/test_core_compress.odin
|
$(ODIN) test compress/test_core_compress.odin
|
||||||
rm test_core_compress
|
rm test_core_compress
|
||||||
|
|
||||||
|
strings_test:
|
||||||
|
$(ODIN) test strings/test_core_strings.odin
|
||||||
|
rm test_core_strings
|
||||||
|
|||||||
@@ -1,18 +1,26 @@
|
|||||||
@echo off
|
@echo off
|
||||||
set COMMON=-show-timings -no-bounds-check -vet -strict-style
|
set COMMON=-show-timings -no-bounds-check -vet -strict-style
|
||||||
set PATH_TO_ODIN==..\..\odin
|
set PATH_TO_ODIN==..\..\odin
|
||||||
:python3 download_assets.py
|
python3 download_assets.py
|
||||||
echo ---
|
echo ---
|
||||||
echo Running core:image tests
|
echo Running core:image tests
|
||||||
echo ---
|
echo ---
|
||||||
%PATH_TO_ODIN% test image %COMMON%
|
%PATH_TO_ODIN% test image %COMMON%
|
||||||
del image.exe
|
del image.exe
|
||||||
|
|
||||||
echo ---
|
echo ---
|
||||||
echo Running core:compress tests
|
echo Running core:compress tests
|
||||||
echo ---
|
echo ---
|
||||||
%PATH_TO_ODIN% test compress %COMMON%
|
%PATH_TO_ODIN% test compress %COMMON%
|
||||||
del compress.exe
|
del compress.exe
|
||||||
|
|
||||||
|
echo ---
|
||||||
|
echo Running core:strings tests
|
||||||
|
echo ---
|
||||||
|
%PATH_TO_ODIN% test strings %COMMON%
|
||||||
|
del strings.exe
|
||||||
|
|
||||||
|
|
||||||
rem math/big tests
|
rem math/big tests
|
||||||
set TEST_ARGS=-fast-tests
|
set TEST_ARGS=-fast-tests
|
||||||
set TEST_ARGS=
|
set TEST_ARGS=
|
||||||
|
|||||||
Reference in New Issue
Block a user