aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-11-18 04:03:11 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-11-18 04:03:11 +0000
commit470182bb6eef79e52f276447b9f9eb556e05fef9 (patch)
treecb04dba0e23a03df74e9198228b4ab67c6f8d2f8 /usr.bin
parente9b30d7fcbb208ceefba221cbfa3a88f5b3d8da4 (diff)
downloadsrc-470182bb6eef79e52f276447b9f9eb556e05fef9.tar.gz
src-470182bb6eef79e52f276447b9f9eb556e05fef9.zip
Link in NetBSD's unifdef(1) tests
Skip one, is it currently fails.
Notes
Notes: svn path=/head/; revision=354801
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/unifdef/Makefile5
-rw-r--r--usr.bin/unifdef/tests/Makefile12
2 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/unifdef/Makefile b/usr.bin/unifdef/Makefile
index dcd358f23192..c38dae383ddd 100644
--- a/usr.bin/unifdef/Makefile
+++ b/usr.bin/unifdef/Makefile
@@ -1,8 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= unifdef
SCRIPTS=unifdefall.sh
MLINKS= unifdef.1 unifdefall.1
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.prog.mk>
diff --git a/usr.bin/unifdef/tests/Makefile b/usr.bin/unifdef/tests/Makefile
new file mode 100644
index 000000000000..ddcfbdc6146e
--- /dev/null
+++ b/usr.bin/unifdef/tests/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+PACKAGE= tests
+
+NETBSD_ATF_TESTS_SH= basic_test
+
+${PACKAGE}FILES+= d_basic.in
+${PACKAGE}FILES+= d_basic.out
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.test.mk>