Makefile 571 B

12345678910111213141516171819202122232425
  1. ODIN=../../odin
  2. PYTHON=$(shell which python3)
  3. all: download_test_assets image_test compress_test strings_test hash_test crypto_test noise_test
  4. download_test_assets:
  5. $(PYTHON) download_assets.py
  6. image_test:
  7. $(ODIN) run image/test_core_image.odin
  8. compress_test:
  9. $(ODIN) run compress/test_core_compress.odin
  10. strings_test:
  11. $(ODIN) run strings/test_core_strings.odin
  12. hash_test:
  13. $(ODIN) run hash -out=test_hash -o:speed -no-bounds-check
  14. crypto_test:
  15. $(ODIN) run crypto -out=crypto_hash -o:speed -no-bounds-check
  16. noise_test:
  17. $(ODIN) run math/noise -out=test_noise