git: 64ecbc0cd352 - stable/13 - tests: do not build ktls_test if WITHOUT_OPENSSL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Nov 2021 23:12:58 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=64ecbc0cd3524d1c5782910547253644be6ebbd7 commit 64ecbc0cd3524d1c5782910547253644be6ebbd7 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-11-08 17:08:34 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-11-23 23:11:45 +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 (cherry picked from commit e818178e3a597922ce77bee874e441a1b7df0099) --- 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