Skip to content

Commit

Permalink
tests(build) fix failing tests on ubuntu 24.04
Browse files Browse the repository at this point in the history
The new `ubuntu-latest` image (24.04) would cause OpenResty 1.21.4.1 to
not find the Perl lib during compilation.

OpenResty 1.27.1.1 can find the lib without problems.
  • Loading branch information
thibaultcha committed Jan 14, 2025
1 parent f29dd1c commit 63f6784
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions t/10-build/001-build_options.t
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,27 @@ ngx_stream_wasm_module


=== TEST 10: build with OpenResty
--- build: NGX_BUILD_OPENRESTY=1.21.4.1 make
--- build: NGX_BUILD_OPENRESTY=1.27.1.1 make
--- grep_nginxV
openresty/1.21.4.1 (ngx_wasmx_module dev [debug
openresty/1.27.1.1 (ngx_wasmx_module dev [debug
built with OpenSSL
--with-debug
-O0 -ggdb3 -gdwarf



=== TEST 11: build without IPC by default
=== TEST 11: build with OpenResty without debug
--- build: NGX_BUILD_OPENRESTY=1.27.1.1 NGX_BUILD_DEBUG=0 NGX_BUILD_CC_OPT= make
--- grep_nginxV
openresty/1.27.1.1 (ngx_wasmx_module dev
built with OpenSSL
--- no_grep_nginxV
--with-debug
-O0 -ggdb3 -gdwarf



=== TEST 12: build without IPC by default
--- build: make
--- grep_nginxV
ngx_wasmx_module dev [debug
Expand All @@ -158,7 +169,7 @@ ngx_ipc_core_module



=== TEST 12: build with IPC (NGX_IPC=1)
=== TEST 13: build with IPC (NGX_IPC=1)
--- build: make NGX_IPC=1
--- grep_nginxV
ngx_wasmx_module dev [ipc
Expand All @@ -170,7 +181,7 @@ ngx_ipc_core_module



=== TEST 13: build with IPC (NGX_IPC=YES)
=== TEST 14: build with IPC (NGX_IPC=YES)
--- build: make NGX_IPC=YES
--- grep_nginxV
ngx_wasmx_module dev [ipc
Expand Down

0 comments on commit 63f6784

Please sign in to comment.