From a2e5db88ac0d0c6f78cbaf79cb2eb6c4dc50f0c1 Mon Sep 17 00:00:00 2001 From: Zhi Guan Date: Mon, 6 Feb 2023 13:28:39 +0800 Subject: [PATCH] Update CMakeLists.txt Remove http_crl test, failed on GitHub CI environment. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 162775a8..02218b16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,7 +158,7 @@ set(tests tls tls13 http - http_crl + #http_crl ) @@ -230,6 +230,10 @@ else() list(APPEND src src/rand_unix.c src/http.c) endif() +option(ENABLE_HTTP_TESTS "Enable HTTP GET/POST related tests" OFF) +if (ENABLE_HTTP_TESTS) + list(APPEND tests http_crl) +endif() option(BUILD_SHARED_LIBS "Build using shared libraries" ON)