]> git.kaiwu.me - njs.git/commit
Improved unit test.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 17 Jun 2020 14:38:23 +0000 (14:38 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 17 Jun 2020 14:38:23 +0000 (14:38 +0000)
commitf45524b22d2217f788a28d20121f69232d4c2734
tree56aed5dd892b24b757bcbc4868011ef987a49d6a
parent827f664cd0c8ee3e34f524b44da5a5cd8f7769cc
Improved unit test.

1) Accepting multiple options.
2) Added filter option, to run only selected suites.
For example, the following command would run only
selected tests:

$ njs_unit_test  -f "module|externals"
module tests: PASSED [5/5]
externals tests: PASSED [76/76]
TOTAL: PASSED [81/81]
src/test/njs_unit_test.c