From fcb23abce435c34edb4464b9c349c91aab50d1f8 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Tue, 7 Sep 2021 19:57:08 +0200 Subject: [PATCH] Tests: Integrate `strings` into CI. --- tests/core/Makefile | 6 +++++- tests/core/build.bat | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/tests/core/Makefile b/tests/core/Makefile index 7124af00b..b9dd0c9a2 100644 --- a/tests/core/Makefile +++ b/tests/core/Makefile @@ -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 diff --git a/tests/core/build.bat b/tests/core/build.bat index cda0b078f..23ee3abd4 100644 --- a/tests/core/build.bat +++ b/tests/core/build.bat @@ -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=