aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/tests
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-10-12 08:16:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-10-12 08:16:03 +0000
commitb2d48be1bc7df45ddd13b143a160d0acb5a383c5 (patch)
tree67a85c5694bcdbbc7b1839be795cd25ef318ed91 /usr.bin/grep/tests
parent4f4a7a03cea15a671284f9c06ada80755c994df6 (diff)
downloadsrc-b2d48be1bc7df45ddd13b143a160d0acb5a383c5.tar.gz
src-b2d48be1bc7df45ddd13b143a160d0acb5a383c5.zip
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
Notes
Notes: svn path=/head/; revision=289172
Diffstat (limited to 'usr.bin/grep/tests')
-rw-r--r--usr.bin/grep/tests/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/grep/tests/Makefile b/usr.bin/grep/tests/Makefile
index 59b948c98e5a..7744fcbd2e49 100644
--- a/usr.bin/grep/tests/Makefile
+++ b/usr.bin/grep/tests/Makefile
@@ -1,14 +1,8 @@
# $FreeBSD$
-TESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.bin/grep
-.PATH: ${TESTSRC}
-
.include <bsd.own.mk>
-TESTSDIR= ${TESTSBASE}/usr.bin/grep
-
-ATF_TESTS_SH= grep_test
-ATF_TESTS_SH_SRC_grep_test= t_grep.sh
+NETBSD_ATF_TESTS_SH= grep_test
FILESDIR= ${TESTSDIR}
FILES= d_basic.out
@@ -38,4 +32,6 @@ FILES+= d_whole_line.out
FILES+= d_word_regexps.out
FILES+= d_zgrep.out
+.include <netbsd-tests.test.mk>
+
.include <bsd.test.mk>