[njs] Tests: added help info for test262.

Dmitry Volyntsev xeioex at nginx.com
Fri Dec 24 16:58:37 UTC 2021


details:   https://hg.nginx.org/njs/rev/1d95f84bc0ce
branches:  
changeset: 1781:1d95f84bc0ce
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Fri Dec 24 15:48:08 2021 +0000
description:
Tests: added help info for test262.

diffstat:

 test/help |  22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 53510b595bb5 -r 1d95f84bc0ce test/help
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/help	Fri Dec 24 15:48:08 2021 +0000
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# Copyright (C) Dmitry Volyntsev
+# Copyright (C) NGINX, Inc.
+
+cat << END
+
+test/test262 [options] <DIR or FILE path>
+
+options:
+
+  --binary=PATH             sets path to tested binary, \
+default: "$NJS_TEST_BINARY"
+  --log=PATH                sets path to output log, \
+default: "$NJS_TEST_LOG"
+  --test-dir=PATH           sets directory for test files, \
+default: "$NJS_TEST_DIR"
+  --verbose=YES             enables verbose output, \
+default: "$NJS_TEST_VERBOSE"
+  --leave=YES               disables removing of "$NJS_TEST_DIR", \
+default: "$NJS_TEST_LEAVE"
+END


More information about the nginx-devel mailing list