Add GA OpenSSL tests back

This commit is contained in:
Sergio R. Caprile committed 2023-09-19 12:08:02 -03:00
1 parent 3f0366a514
commit b355da32b9
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
matrix: matrix:
cc: [gcc, clang, g++, clang++] cc: [gcc, clang, g++, clang++]
target: [test, mip_test] target: [test, mip_test]
ssl: ["", MBEDTLS] #ssl: ["", MBEDTLS, OPENSSL] ssl: ["", MBEDTLS, OPENSSL]
select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"] select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"]
exclude: exclude:
- ssl: MBEDTLS - ssl: MBEDTLS
@@ -68,7 +68,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
ssl: ["", MBEDTLS] #ssl: ["", MBEDTLS, OPENSSL] ssl: ["", MBEDTLS, OPENSSL]
select: [-DMG_ENABLE_POLL=0, -DMG_ENABLE_POLL=1] select: [-DMG_ENABLE_POLL=0, -DMG_ENABLE_POLL=1]
exclude: exclude:
- ssl: MBEDTLS - ssl: MBEDTLS
+2 -2
View File
@@ -1199,7 +1199,7 @@ static void test_http_404(void) {
} }
static void test_tls(void) { static void test_tls(void) {
return; // return;
#if MG_TLS #if MG_TLS
struct mg_mgr mgr; struct mg_mgr mgr;
struct mg_connection *c; struct mg_connection *c;
@@ -1273,7 +1273,7 @@ static void test_http_client(void) {
c->is_closing = 1; c->is_closing = 1;
mg_mgr_poll(&mgr, 1); mg_mgr_poll(&mgr, 1);
#if 0 #if 1
// Test failed host validation // Test failed host validation
c = mg_http_connect(&mgr, "https://cesanta.com", f3, &ok); c = mg_http_connect(&mgr, "https://cesanta.com", f3, &ok);
ASSERT(c != NULL); ASSERT(c != NULL);