aboutsummaryrefslogtreecommitdiff
path: root/tests/core/Makefile
blob: 0f0ffe4d646e45285e1d3166e831df21186c4c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ODIN=../../odin
PYTHON=$(shell which python3)

all: download_test_assets image_test compress_test strings_test hash_test crypto_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