tests: check openssl version compatibility for fuzz tests

This check will exclude fuzz tests for Ubuntu Focal as it supports OpenSSL v1.1.1f while CLN requires ≥ v3.0.
This commit is contained in:
ShahanaFarooqui
2025-10-28 19:40:08 -07:00
committed by Rusty Russell
parent 4f9e13c000
commit 7170fe225a

View File

@@ -392,7 +392,12 @@ include cln-grpc/Makefile
endif endif
include plugins/Makefile include plugins/Makefile
include tests/plugins/Makefile include tests/plugins/Makefile
# Only include fuzz tests if OpenSSL >= 3.0, will be disabled on ubuntu focal
OPENSSL_VERSION := $(shell openssl version | sed -n 's/OpenSSL \([0-9]\+\)\..*/\1/p')
ifneq ($(shell test $(OPENSSL_VERSION) -ge 3 && echo yes),)
include tests/fuzz/Makefile include tests/fuzz/Makefile
endif
ifneq ($V,1) ifneq ($V,1)
MSGGEN_ARGS := -s MSGGEN_ARGS := -s