git: a3b6b3ac4d96 - main - makefs tests: Do not install ZFS tests if WITHOUT_ZFS is defined
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Aug 2022 17:05:21 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=a3b6b3ac4d967928380e58aa4c3f8132f0b30aad
commit a3b6b3ac4d967928380e58aa4c3f8132f0b30aad
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-08-29 16:35:37 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-08-29 16:50:51 +0000
makefs tests: Do not install ZFS tests if WITHOUT_ZFS is defined
---
usr.sbin/makefs/tests/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/usr.sbin/makefs/tests/Makefile b/usr.sbin/makefs/tests/Makefile
index c2c9f6bea5b6..842c4d566259 100644
--- a/usr.sbin/makefs/tests/Makefile
+++ b/usr.sbin/makefs/tests/Makefile
@@ -1,8 +1,12 @@
# $FreeBSD$
+.include <src.opts.mk>
+
ATF_TESTS_SH+= makefs_cd9660_tests
ATF_TESTS_SH+= makefs_ffs_tests
+.if ${MK_ZFS} != "no"
ATF_TESTS_SH+= makefs_zfs_tests
+.endif
BINDIR= ${TESTSDIR}