mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
Tests: Integrate strings into CI.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ODIN=../../odin
|
||||
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:
|
||||
$(PYTHON) download_assets.py
|
||||
@@ -13,3 +13,7 @@ image_test:
|
||||
compress_test:
|
||||
$(ODIN) test compress/test_core_compress.odin
|
||||
rm test_core_compress
|
||||
|
||||
strings_test:
|
||||
$(ODIN) test strings/test_core_strings.odin
|
||||
rm test_core_strings
|
||||
|
||||
@@ -1,18 +1,26 @@
|
||||
@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%
|
||||
del image.exe
|
||||
|
||||
echo ---
|
||||
echo Running core:compress tests
|
||||
echo ---
|
||||
%PATH_TO_ODIN% test compress %COMMON%
|
||||
del compress.exe
|
||||
|
||||
echo ---
|
||||
echo Running core:strings tests
|
||||
echo ---
|
||||
%PATH_TO_ODIN% test strings %COMMON%
|
||||
del strings.exe
|
||||
|
||||
|
||||
rem math/big tests
|
||||
set TEST_ARGS=-fast-tests
|
||||
set TEST_ARGS=
|
||||
|
||||
Reference in New Issue
Block a user