summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tar/Makefile')
-rw-r--r--usr.bin/tar/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index e8a9ad4..47416f8 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -32,11 +32,8 @@ CFLAGS+= -I${LIBARCHIVEDIR}/libarchive_fe
SYMLINKS= bsdtar ${BINDIR}/tar
MLINKS= bsdtar.1 tar.1
-.PHONY: check test clean-test
-check test: $(PROG) bsdtar.1.gz
- cd ${.CURDIR}/test && make obj && make test
-
-clean-test:
- cd ${.CURDIR}/test && make clean
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud