tengine单元测试框架

tengine单元测试框架
单元测试例子:src/test/ngx_test_example.c
单元测试编译

./configure --prefix=xxxx --with-test
make 

执行:
./objs/nginx -u

模块config增加
if [ "X$NGX_UNIT_TEST" = "XYES" ]; then
       NGX_ADDON_SRCS="$NGX_ADDON_SRCS  ngx_xxx_test.c"
fi