mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-26 01:13:48 +00:00
Add Makefile for tests.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
ODIN=../../odin
|
||||
PYTHON=$(shell which python3)
|
||||
|
||||
all: download_test_assets image_test compress_test
|
||||
|
||||
download_test_assets:
|
||||
$(PYTHON) download_assets.py
|
||||
|
||||
image_test:
|
||||
$(ODIN) test image/test_core_image.odin
|
||||
rm test_core_image
|
||||
|
||||
compress_test:
|
||||
$(ODIN) test compress/test_core_compress.odin
|
||||
rm test_core_compress
|
||||
@@ -7,7 +7,7 @@ package test_core_compress
|
||||
List of contributors:
|
||||
Jeroen van Rijn: Initial implementation.
|
||||
|
||||
A test suite for ZLIB, GZIP and PNG.
|
||||
A test suite for ZLIB, GZIP.
|
||||
*/
|
||||
|
||||
import "core:testing"
|
||||
|
||||
@@ -7,7 +7,7 @@ package test_core_image
|
||||
List of contributors:
|
||||
Jeroen van Rijn: Initial implementation.
|
||||
|
||||
A test suite for ZLIB, GZIP and PNG.
|
||||
A test suite for PNG.
|
||||
*/
|
||||
|
||||
import "core:testing"
|
||||
|
||||
Reference in New Issue
Block a user