]> git.kaiwu.me - njs.git/commitdiff
Tests: added help info for test262.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 24 Dec 2021 15:48:08 +0000 (15:48 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 24 Dec 2021 15:48:08 +0000 (15:48 +0000)
test/help [new file with mode: 0644]

diff --git a/test/help b/test/help
new file mode 100644 (file)
index 0000000..f142edf
--- /dev/null
+++ b/test/help
@@ -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