Change test runner options to SCREAMING_SNAKE_CASE

This commit also changes the name of `test_select` to `ODIN_TEST_NAMES`,
to better conform with the already-existing `-test-name:<name>` option.
This commit is contained in:
Feoramund
2024-06-02 14:47:07 -04:00
parent e11f3d2520
commit b7e1ae7073
4 changed files with 22 additions and 22 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
ODIN=../../odin
PYTHON=$(shell which python3)
COMMON=-no-bounds-check -vet -strict-style -define:test_track_memory=true
COMMON=-no-bounds-check -vet -strict-style -define:ODIN_TEST_TRACK_MEMORY=true
COLLECTION=-collection:tests=..
all: all_bsd \
@@ -34,13 +34,13 @@ download_test_assets:
$(PYTHON) download_assets.py
image_test:
$(ODIN) test image $(COMMON) -define:test_progress_width=12 -out:test_core_image
$(ODIN) test image $(COMMON) -define:ODIN_TEST_PROGRESS_WIDTH=12 -out:test_core_image
compress_test:
$(ODIN) test compress $(COMMON) -define:test_progress_width=3 -out:test_core_compress
$(ODIN) test compress $(COMMON) -define:ODIN_TEST_PROGRESS_WIDTH=3 -out:test_core_compress
container_test:
$(ODIN) test container $(COMMON) -define:test_progress_width=4 -out:test_core_container
$(ODIN) test container $(COMMON) -define:ODIN_TEST_PROGRESS_WIDTH=4 -out:test_core_container
crypto_test:
$(ODIN) test crypto $(COMMON) -define:test_progress_width=18 -o:speed -out:test_crypto