Ver código fonte

Base: Update test-js(1) man page

Linus Groh 4 anos atrás
pai
commit
57e7b2f8e4
1 arquivos alterados com 10 adições e 1 exclusões
  1. 10 1
      Base/usr/share/man/man1/test-js.md

+ 10 - 1
Base/usr/share/man/man1/test-js.md

@@ -5,7 +5,7 @@ test-js - run the LibJS test suite
 ## Synopsis
 
 ```**sh
-$ test-js [options...]
+$ test-js [options...] [path]
 ```
 
 ## Description
@@ -14,9 +14,18 @@ $ test-js [options...]
 tests are using a custom JavaScript testing framework inspired by
 [Jest](https://jestjs.io) (see [`test-common.js`](/home/anon/js-tests/test-common.js)).
 
+It also supports the [test262 parser tests](https://github.com/tc39/test262-parser-tests).
+
+The test root directory is assumed to be `/home/anon/js-tests`, or `$SERENITY_ROOT/Libraries/LibJS/Tests`
+when using the Lagom build. Optionally you can pass a custom path to `test-js` to override these defaults.
+
+You can disable output from `dbg()` calls by setting the `DISABLE_DBG_OUTPUT` environment variable.
+
 ## Options
 
 * `-t`, `--show-time`: Show duration of each test
+* `-g`, `--collect-often`: Collect garbage after every allocation
+* `--test262-parser-tests`: Run test262 parser tests
 
 ## Examples