Skip to content

Commit 63f6784

Browse files
committed
tests(build) fix failing tests on ubuntu 24.04
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.
1 parent f29dd1c commit 63f6784

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

t/10-build/001-build_options.t

+16-5
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,27 @@ ngx_stream_wasm_module
136136
137137
138138
=== TEST 10: build with OpenResty
139-
--- build: NGX_BUILD_OPENRESTY=1.21.4.1 make
139+
--- build: NGX_BUILD_OPENRESTY=1.27.1.1 make
140140
--- grep_nginxV
141-
openresty/1.21.4.1 (ngx_wasmx_module dev [debug
141+
openresty/1.27.1.1 (ngx_wasmx_module dev [debug
142142
built with OpenSSL
143143
--with-debug
144144
-O0 -ggdb3 -gdwarf
145145
146146
147147
148-
=== TEST 11: build without IPC by default
148+
=== TEST 11: build with OpenResty without debug
149+
--- build: NGX_BUILD_OPENRESTY=1.27.1.1 NGX_BUILD_DEBUG=0 NGX_BUILD_CC_OPT= make
150+
--- grep_nginxV
151+
openresty/1.27.1.1 (ngx_wasmx_module dev
152+
built with OpenSSL
153+
--- no_grep_nginxV
154+
--with-debug
155+
-O0 -ggdb3 -gdwarf
156+
157+
158+
159+
=== TEST 12: build without IPC by default
149160
--- build: make
150161
--- grep_nginxV
151162
ngx_wasmx_module dev [debug
@@ -158,7 +169,7 @@ ngx_ipc_core_module
158169
159170
160171
161-
=== TEST 12: build with IPC (NGX_IPC=1)
172+
=== TEST 13: build with IPC (NGX_IPC=1)
162173
--- build: make NGX_IPC=1
163174
--- grep_nginxV
164175
ngx_wasmx_module dev [ipc
@@ -170,7 +181,7 @@ ngx_ipc_core_module
170181
171182
172183
173-
=== TEST 13: build with IPC (NGX_IPC=YES)
184+
=== TEST 14: build with IPC (NGX_IPC=YES)
174185
--- build: make NGX_IPC=YES
175186
--- grep_nginxV
176187
ngx_wasmx_module dev [ipc

0 commit comments

Comments
 (0)