From 02166635584124c8c53875aa464b9d5eed078bb3 Mon Sep 17 00:00:00 2001 From: bentley Date: Sun, 6 Sep 2020 22:33:59 +0000 Subject: [PATCH] Fix regression tests, which depend on libpng. --- emulators/gambatte/Makefile | 4 +++- emulators/gambatte/files/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/emulators/gambatte/Makefile b/emulators/gambatte/Makefile index 9aa284c250b..478fcb95b0f 100644 --- a/emulators/gambatte/Makefile +++ b/emulators/gambatte/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2020/08/30 20:18:25 rsadowski Exp $ +# $OpenBSD: Makefile,v 1.25 2020/09/06 22:33:59 bentley Exp $ COMMENT = highly accurate Game Boy Color emulator @@ -27,10 +27,12 @@ MODULES = lang/python SEPARATE_BUILD = No +BUILD_DEPENDS = graphics/png LIB_DEPENDS = ${MODGCC4_CPPLIBDEP} \ devel/sdl TEST_DEPENDS = graphics/png +TEST_TARGET = check MAKE_FILE = ${FILESDIR}/Makefile diff --git a/emulators/gambatte/files/Makefile b/emulators/gambatte/files/Makefile index ae1182ad59a..140bd5f077e 100644 --- a/emulators/gambatte/files/Makefile +++ b/emulators/gambatte/files/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2015/12/22 04:20:22 bentley Exp $ +# $OpenBSD: Makefile,v 1.2 2020/09/06 22:33:59 bentley Exp $ # https://github.com/sinamas/gambatte/pull/6 .SUFFIXES: .c .cpp .o @@ -99,7 +99,7 @@ TEST_GBS = \ test/hwtests/*/*/*.gb* \ test/hwtests/*/*/*/*.gb* -test: $(TEST) +check: $(TEST) $(PYTHON) test/qdgbas.py \ test/hwtests/*.asm \ test/hwtests/*/*.asm \