[njs] Added unit_test target.

Dmitry Volyntsev xeioex at nginx.com
Mon Jul 15 17:23:29 UTC 2019


details:   https://hg.nginx.org/njs/rev/d1fb99f23174
branches:  
changeset: 1049:d1fb99f23174
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Jul 15 18:46:31 2019 +0300
description:
Added unit_test target.

diffstat:

 auto/make |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3594adcc9b05 -r d1fb99f23174 auto/make
--- a/auto/make	Mon Jul 15 17:46:37 2019 +0300
+++ b/auto/make	Mon Jul 15 18:46:31 2019 +0300
@@ -237,14 +237,15 @@ lib_test: $NXT_BUILD_DIR/nxt_auto_config
 	$NXT_BUILD_DIR/lvlhsh_unit_test
 	$NXT_BUILD_DIR/utf8_unit_test
 
-test: $NXT_BUILD_DIR/nxt_auto_config.h \\
-	njs_expect_test \\
+unit_test: $NXT_BUILD_DIR/nxt_auto_config.h \\
 	$NXT_BUILD_DIR/njs_unit_test \\
 	$NXT_BUILD_DIR/njs_interactive_test
 
 	$NXT_BUILD_DIR/njs_unit_test
 	$NXT_BUILD_DIR/njs_interactive_test
 
+test: njs_expect_test unit_test
+
 benchmark: $NXT_BUILD_DIR/nxt_auto_config.h \\
 	$NXT_BUILD_DIR/njs_benchmark
 


More information about the nginx-devel mailing list