summaryrefslogtreecommitdiff
path: root/regress/pkg-options/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-16 00:09:03 +0000
committerrillig <rillig@pkgsrc.org>2005-05-16 00:09:03 +0000
commit1ff30569df5533e73bcef63d450d20d77eef03b7 (patch)
tree93135bee0f912631dd896f748c59b8ec54eb301b /regress/pkg-options/Makefile
parent71215ccade6cc896a640723eac0bc60bed8a76ff (diff)
downloadpkgsrc-1ff30569df5533e73bcef63d450d20d77eef03b7.tar.gz
Imported testsuite for the bsd.options.mk framework.
Diffstat (limited to 'regress/pkg-options/Makefile')
-rw-r--r--regress/pkg-options/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/pkg-options/Makefile b/regress/pkg-options/Makefile
new file mode 100644
index 00000000000..fa7bfc7119c
--- /dev/null
+++ b/regress/pkg-options/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/05/16 00:09:03 rillig Exp $
+#
+
+DISTNAME= regress-pkg-options-1.0
+CATEGORIES= regress
+DISTFILES= # empty
+
+MAINTAINER= rillig@NetBSD.org
+COMMENT= Test bsd.options.mk framework
+
+REGRESS_TESTS= simple
+
+do-test:
+.for t in ${REGRESS_TESTS}
+ @${_PKG_SILENT}${_PKG_DEBUG} \
+ ${ECHO_MSG} "Running testcase "${t:Q}; \
+ ${MAKE} ${MAKEFLAGS} -s -f ${FILESDIR:Q}/${t:Q}.mk test \
+ | diff - ${FILESDIR:Q}/${t:Q}.out
+.endfor
+
+.include "../../mk/bsd.pkg.mk"