mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 11:42:28 +00:00
Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
29 lines
689 B
Makefile
29 lines
689 B
Makefile
ODIN=../../odin
|
|
PYTHON=$(shell which python3)
|
|
|
|
all: download_test_assets image_test compress_test strings_test hash_test crypto_test noise_test encoding_test
|
|
|
|
download_test_assets:
|
|
$(PYTHON) download_assets.py
|
|
|
|
image_test:
|
|
$(ODIN) run image/test_core_image.odin
|
|
|
|
compress_test:
|
|
$(ODIN) run compress/test_core_compress.odin
|
|
|
|
strings_test:
|
|
$(ODIN) run strings/test_core_strings.odin
|
|
|
|
hash_test:
|
|
$(ODIN) run hash -out=test_hash -o:speed -no-bounds-check
|
|
|
|
crypto_test:
|
|
$(ODIN) run crypto -out=crypto_hash -o:speed -no-bounds-check
|
|
|
|
noise_test:
|
|
$(ODIN) run math/noise -out=test_noise
|
|
|
|
encoding_test:
|
|
$(ODIN) run encoding/json -out=test_json
|
|
$(ODIN) run encoding/varint -out=test_varint
|