git: e818178e3a59 - main - tests: do not build ktls_test if WITHOUT_OPENSSL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 18:48:52 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=e818178e3a597922ce77bee874e441a1b7df0099
commit e818178e3a597922ce77bee874e441a1b7df0099
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-11-08 17:08:34 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-11-09 18:47:20 +0000
tests: do not build ktls_test if WITHOUT_OPENSSL
ktls_test requires libcrypto to build, and fails if it is not available
(which is the case when building WITHOUT_OPENSSL).
Reported by: Michael Dexter, Build Option Survey
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32895
---
tests/sys/kern/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index ee9decac518c..b0f83b97db41 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PACKAGE= tests
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/kernel
@@ -12,7 +14,9 @@ ATF_TESTS_C+= kern_copyin
ATF_TESTS_C+= kern_descrip_test
ATF_TESTS_C+= fdgrowtable_test
ATF_TESTS_C+= kill_zombie
+.if ${MK_OPENSSL} != "no"
ATF_TESTS_C+= ktls_test
+.endif
ATF_TESTS_C+= ptrace_test
TEST_METADATA.ptrace_test+= timeout="15"
ATF_TESTS_C+= reaper