From c4836057209ad7961b07518e43c8ba2277258513 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Wed, 15 Apr 2026 17:33:19 +1000 Subject: feat(Makefile): Add png_tests --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b1d5825..b7f8df6 100644 --- a/Makefile +++ b/Makefile @@ -44,4 +44,15 @@ asan: CC=clang asan: CFLAGS += $(SANFLAGS) asan: clean all -.PHONY: all clean debug release asan +# Currently supporting: +# Images +# - png +# - bmp (WIP) + +test-png: clean + $(MAKE) USE_HOSTED=1 + $(CC) $(CFLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o png_test -Iinclude/bridges -Ldist -ltinyff && ./png_test + +test: test-png + +.PHONY: all clean debug release asan test test-png -- cgit v1.2.3