Tengine是由淘宝网发起的Web服务器项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wangfakang 7a2ec9d69d Support dynamic build for upstream_dynamic module. 6 years ago
..
nginx-tests Fix server version strings in http2 and stream response headers (#1221) 6 years ago
tengine-tests Support dynamic build for upstream_dynamic module. 6 years ago
README add dso support 13 years ago

README

Just test static modules:

TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove cases
TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove nginx-tests

Just test the dso modules:

1. RUN the test command with TEST_NGINX_DSO=1
TEST_NGINX_DSO=1 TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove cases
TEST_NGINX_DSO=1 TEST_NGINX_BINARY=/path/to/nginx/sbin/nginx prove dso-nginx-tests

2. Add the dso module to the test script (The example module shared library should be under the modules directory):
$t->set_dso("ngx_http_example_module", "ngx_http_example_module.so");
...
%%TEST_GLOBALS_DSO%%