mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-05 18:24:06 +00:00
trunc_f16/32/64 in "math.odin" (~ typos on expressions) Fix classify_f16 Inf test (would fail for subnormal 0h0001) by changing multiplier 0.5 -> 0.25 Add some useful consts to "math.odin" (INF_F16 etc) Add comment to "demo.odin" mentioning that -0.0 must be used to specify negative zero
32 lines
780 B
Makefile
32 lines
780 B
Makefile
ODIN=../../odin
|
|
PYTHON=$(shell which python3)
|
|
|
|
all: download_test_assets image_test compress_test strings_test hash_test crypto_test noise_test \
|
|
math_test linalg_glsl_math_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
|
|
|
|
math_test:
|
|
$(ODIN) run math/test_core_math.odin -collection:tests=..
|
|
|
|
linalg_glsl_math_test:
|
|
$(ODIN) run math/linalg/glsl/test_linalg_glsl_math.odin -collection:tests=..
|