@ -2,7 +2,7 @@
use lib ' . ' ;
use t : : Config ;
plan tests = > 27 3 ;
plan tests = > 27 0 ;
# no_diff();
@ -21,8 +21,7 @@ __DATA__
- - with - no - pool - patch enable the no - pool patch for debugging memory issues
- jN pass - jN option to make while building the bundled
Lua 5.1 interpreter or LuaJIT 2.1
- jN pass - jN option to make while building LuaJIT 2.1
- - without - http_echo_module disable ngx_http_echo_module
- - without - http_xss_module disable ngx_http_xss_module
@ -73,12 +72,11 @@ __DATA__
- - without - lua_resty_shell disable the lua - resty - shell library
- - without - lua_resty_core disable the lua - resty - core library
- - with - luajit enable and build the bundled LuaJIT 2.1 ( the default )
- - with - luajit = DIR use the external LuaJIT 2.1 installation specified by DIR
- - with - luajit - xcflags = FLAGS Specify extra C compiler flags for LuaJIT 2.1
- - with - luajit - ldflags = FLAGS Specify extra C linker flags for LuaJIT 2.1
- - without - luajit - lua52 Turns off the LuaJIT extensions from Lua 5.2 that may break
backward compatibility .
backward compatibility
- - without - luajit - gc64 Turns off the LuaJIT GC64 mode ( which is enabled by default
on x86_64 )
@ -809,8 +807,7 @@ clean:
- - with - no - pool - patch enable the no - pool patch for debugging memory issues
- jN pass - jN option to make while building the bundled
Lua 5.1 interpreter or LuaJIT 2.1
- jN pass - jN option to make while building LuaJIT 2.1
- - without - http_echo_module disable ngx_http_echo_module
- - without - http_xss_module disable ngx_http_xss_module
@ -861,12 +858,11 @@ clean:
- - without - lua_resty_shell disable the lua - resty - shell library
- - without - lua_resty_core disable the lua - resty - core library
- - with - luajit enable and build the bundled LuaJIT 2.1 ( the default )
- - with - luajit = DIR use the external LuaJIT 2.1 installation specified by DIR
- - with - luajit - xcflags = FLAGS Specify extra C compiler flags for LuaJIT 2.1
- - with - luajit - ldflags = FLAGS Specify extra C linker flags for LuaJIT 2.1
- - without - luajit - lua52 Turns off the LuaJIT extensions from Lua 5.2 that may break
backward compatibility .
backward compatibility
- - without - luajit - gc64 Turns off the LuaJIT GC64 mode ( which is enabled by default
on x86_64 )
@ -1049,7 +1045,6 @@ Options directly inherited from nginx
= = = TEST 10 : - - with - http_drizzle_module on solaris
- - - cmd : . / configure - - with - http_drizzle_module - - dry - run - - platform = solaris
- - - out
@ -3221,18 +3216,7 @@ clean:
= = = TEST 39 : - - with - luajit & - - with - luajit = PATH
- - - cmd : . / configure - - with - luajit = / tmp / luajit - - with - luajit
- - - out
platform : linux ( linux )
- - - err
- - with - luajit and - - with - luajit = DIR are mutually exclusive .
- - - exit : 2
= = = TEST 40 : . / configure with - jN
= = = TEST 39 : . / configure with - jN
- - - cmd : . / configure - - dry - run - j10
- - - out
platform : linux ( linux )
@ -3320,7 +3304,7 @@ clean:
= = = TEST 4 1 : - - with - luajit & - jN
= = = TEST 4 0 : - - with - luajit & - jN
- - - cmd : . / configure - - with - luajit - - dry - run - j5
- - - out
platform : linux ( linux )
@ -3408,7 +3392,7 @@ clean:
= = = TEST 4 2 : relative path as the - - add - module option ' s value
= = = TEST 4 1 : relative path as the - - add - module option ' s value
- - - cmd : . / configure - - add - module = / path / to / some / module - - add - module = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -3496,7 +3480,7 @@ clean:
= = = TEST 4 3 : relative path as the - - with - openssl option ' s value
= = = TEST 4 2 : relative path as the - - with - openssl option ' s value
- - - cmd : . / configure - - with - openssl = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -3584,7 +3568,7 @@ clean:
= = = TEST 4 4 : - - without - lua_resty_memcached
= = = TEST 4 3 : - - without - lua_resty_memcached
- - - cmd : . / configure - - dry - run - - without - lua_resty_memcached
- - - out
platform : linux ( linux )
@ -3671,7 +3655,7 @@ clean:
= = = TEST 4 5 : - - without - lua_resty_redis
= = = TEST 4 4 : - - without - lua_resty_redis
- - - cmd : . / configure - - dry - run - - without - lua_resty_redis
- - - out
platform : linux ( linux )
@ -3758,7 +3742,7 @@ clean:
= = = TEST 4 6 : - - with - luajit - xcflags
= = = TEST 4 5 : - - with - luajit - xcflags
- - - cmd : . / configure - - with - luajit - - with - luajit - xcflags = ' - DLUAJIT_USE_VALGRIND ' - - dry - run
- - - out
platform : linux ( linux )
@ -3846,7 +3830,7 @@ clean:
= = = TEST 4 7 : - - with - debug & luajit & - - with - luajit - xcflags
= = = TEST 4 6 : - - with - debug & luajit & - - with - luajit - xcflags
- - - cmd : . / configure - - with - luajit - - with - debug - - dry - run - - with - luajit - xcflags = ' - DLUAJIT_USE_VALGRIND '
- - - out
platform : linux ( linux )
@ -3935,7 +3919,7 @@ clean:
= = = TEST 4 8 : relative path as the - - with - pcre option ' s value
= = = TEST 4 7 : relative path as the - - with - pcre option ' s value
- - - cmd : . / configure - - with - pcre = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -4023,7 +4007,7 @@ clean:
= = = TEST 4 9 : relative path as the - - with - zlib option ' s value
= = = TEST 4 8 : relative path as the - - with - zlib option ' s value
- - - cmd : . / configure - - with - zlib = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -4111,7 +4095,7 @@ clean:
= = = TEST 50 : relative path as the - - with - md5 option ' s value
= = = TEST 49 : relative path as the - - with - md5 option ' s value
- - - cmd : . / configure - - with - md5 = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -4199,7 +4183,7 @@ clean:
= = = TEST 5 1 : relative path as the - - with - sha1 option ' s value
= = = TEST 5 0 : relative path as the - - with - sha1 option ' s value
- - - cmd : . / configure - - with - sha1 = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -4287,7 +4271,7 @@ clean:
= = = TEST 5 2 : relative path as the - - with - libatomic option ' s value
= = = TEST 5 1 : relative path as the - - with - libatomic option ' s value
- - - cmd : . / configure - - with - libatomic = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -4375,7 +4359,7 @@ clean:
= = = TEST 5 3 : - - without - lua_resty_dns
= = = TEST 5 2 : - - without - lua_resty_dns
- - - cmd : . / configure - - dry - run - - without - lua_resty_dns
- - - out
platform : linux ( linux )
@ -4462,7 +4446,7 @@ clean:
= = = TEST 5 4 : - - prefix ( relative path : " . " ) , lua51
= = = TEST 5 3 : - - prefix ( relative path : " . " ) , lua51
- - - cmd : . / configure - - prefix = . - - dry - run
- - - out
platform : linux ( linux )
@ -4552,7 +4536,7 @@ clean:
= = = TEST 5 5 : - - prefix ( relative path : " . " ) , luajit
= = = TEST 5 4 : - - prefix ( relative path : " . " ) , luajit
- - - cmd : . / configure - - prefix = . - - dry - run
- - - out
platform : linux ( linux )
@ -4642,7 +4626,7 @@ clean:
= = = TEST 5 6 : - - prefix ( relative path : " " ) , luajit
= = = TEST 5 5 : - - prefix ( relative path : " " ) , luajit
- - - cmd : . / configure - - prefix = - - dry - run
- - - out
platform : linux ( linux )
@ -4732,7 +4716,7 @@ clean:
= = = TEST 5 7 : MSYS platform
= = = TEST 5 6 : MSYS platform
- - - cmd : . / configure - - prefix = - - platform = msys - - dry - run
- - - out
platform : msys ( msys )
@ -4820,7 +4804,7 @@ clean:
= = = TEST 5 8 : - - with - pcre - opt = ' foo bar '
= = = TEST 5 7 : - - with - pcre - opt = ' foo bar '
- - - cmd : . / configure - - dry - run - - with - pcre - opt = ' - foo - bar ' - - with - zlib - opt = " hello, ' \ world "
- - - out
platform : linux ( linux )
@ -4908,7 +4892,7 @@ clean:
= = = TEST 5 9 : - - with - luajit - xcflags lua 5.2 compat
= = = TEST 5 8 : - - with - luajit - xcflags lua 5.2 compat
- - - cmd : . / configure - - with - luajit - xcflags = ' - DLUAJIT_ENABLE_LUA52COMPAT ' - - dry - run
- - - out
platform : linux ( linux )
@ -4996,7 +4980,7 @@ clean:
= = = TEST 60 : - - without - luajit - lua52
= = = TEST 59 : - - without - luajit - lua52
- - - cmd : . / configure - - without - luajit - lua52 - - dry - run
- - - out
platform : linux ( linux )
@ -5084,7 +5068,7 @@ clean:
= = = TEST 6 1 : - - with - luajit - xcflags disable gc64
= = = TEST 6 0 : - - with - luajit - xcflags disable gc64
- - - cmd : . / configure - - with - luajit - xcflags = ' - DLUAJIT_DISABLE_GC64 ' - - dry - run
- - - out
platform : linux ( linux )
@ -5172,7 +5156,7 @@ clean:
= = = TEST 6 2 : - - without - luajit - gc64
= = = TEST 6 1 : - - without - luajit - gc64
- - - cmd : . / configure - - without - luajit - gc64 - - dry - run
- - - out
platform : linux ( linux )
@ -5260,7 +5244,7 @@ clean:
= = = TEST 6 3 : - - with - luajit - xcflags gc64 & - - without - luajit - gc64
= = = TEST 6 2 : - - with - luajit - xcflags gc64 & - - without - luajit - gc64
- - - cmd : . / configure - - with - luajit - xcflags = ' - DLUAJIT_DISABLE_GC64 ' - - without - luajit - gc64 - - dry - run
- - - out
platform : linux ( linux )
@ -5348,7 +5332,7 @@ clean:
= = = TEST 6 4 : - - sbin - path ( absolute )
= = = TEST 6 3 : - - sbin - path ( absolute )
- - - cmd : . / configure - - sbin - path = / opt / blah / nginx - - dry - run
- - - out
platform : linux ( linux )
@ -5436,7 +5420,7 @@ clean:
= = = TEST 6 5 : - - sbin - path ( relative )
= = = TEST 6 4 : - - sbin - path ( relative )
- - - cmd : . / configure - - sbin - path = . . / bin / nginx - - dry - run
- - - out
platform : linux ( linux )
@ -5524,7 +5508,7 @@ clean:
= = = TEST 6 6 : - - without - http_lua_upstream_module ( on Linux )
= = = TEST 6 5 : - - without - http_lua_upstream_module ( on Linux )
- - - cmd : . / configure - - dry - run - - without - http_lua_upstream_module
- - - out
platform : linux ( linux )
@ -5611,7 +5595,7 @@ clean:
= = = TEST 6 7 : - - without - http_lua_module & - - without - stream_lua_module
= = = TEST 6 6 : - - without - http_lua_module & - - without - stream_lua_module
- - - cmd : . / configure - - without - http_lua_module - - without - stream_lua_module - - dry - run
- - - out
platform : linux ( linux )
@ -5665,7 +5649,7 @@ clean:
= = = TEST 6 8 : relative path as the - - add - dynamic - module option ' s value
= = = TEST 6 7 : relative path as the - - add - dynamic - module option ' s value
- - - cmd : . / configure - - add - dynamic - module = / path / to / some / module - - add - dynamic - module = . . / some / module / - - dry - run
- - - out
platform : linux ( linux )
@ -5753,7 +5737,7 @@ clean:
= = = TEST 6 9 : - - without - stream_ssl_module and - - without - http_ssl_module are respected
= = = TEST 6 8 : - - without - stream_ssl_module and - - without - http_ssl_module are respected
- - - cmd : . / configure - - without - http_ssl_module - - without - stream_ssl_module - - dry - run
- - - out
platform : linux ( linux )
@ -5796,7 +5780,7 @@ Type the following commands to build and install:
= = = TEST 70 : - - without - stream_ssl_module and - - with - stream_ssl_module specified at the same time causes errors
= = = TEST 69 : - - without - stream_ssl_module and - - with - stream_ssl_module specified at the same time causes errors
- - - cmd : . / configure - - with - stream_ssl_module - - without - stream_ssl_module - - dry - run
- - - out
platform : linux ( linux )
@ -5807,7 +5791,7 @@ platform: linux (linux)
= = = TEST 7 1 : - - with - luajit - ldflags
= = = TEST 7 0 : - - with - luajit - ldflags
- - - cmd : . / configure - - with - luajit - - with - luajit - ldflags = ' - Wl , - rpath , / tmp / blah / foo ' - - dry - run
- - - out
platform : linux ( linux )
@ -5892,4 +5876,3 @@ install: all
clean :
rm - rf build * . exe * . dll openresty - *