diff tests/Makefile @ 50:ce9347338583

ATF glue
author Joerg Sonnenberger <joerg@bec.de>
date Sun, 31 Mar 2013 05:39:50 +0200
parents 0af03c5571e0
children cf2830e5b81f
line wrap: on
line diff
--- a/tests/Makefile	Sat Mar 30 23:29:08 2013 -0400
+++ b/tests/Makefile	Sun Mar 31 05:39:50 2013 +0200
@@ -1,9 +1,18 @@
-TRADCPP=../obj/tradcpp  # XXX
+#	$NetBSD$
+
+all: run-tests .WAIT show-diffs
+
+TESTDIR=	${TESTSBASE}/usr.bin/tradcpp
+
+TESTS_SH+=	tradcpp
+
+.include <bsd.test.mk>
+
+TRADCPP_OBJDIR!=	${MAKE} -C .. -V .OBJDIR
+TRADCPP=	${TRADCPP_OBJDIR}/tradcpp
 
 TESTS=t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12
 
-all: run-tests .WAIT show-diffs
-
 .for T in $(TESTS)
 run-tests: $(T).diff