Fix default testament target in docs and cli help (#19796)
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
parent
63cca93ea9
commit
a8426fc789
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ Options
|
||||||
(for debugging)
|
(for debugging)
|
||||||
--failing Only show failing/ignored tests
|
--failing Only show failing/ignored tests
|
||||||
--targets:"c cpp js objc"
|
--targets:"c cpp js objc"
|
||||||
Run tests for specified targets (default: all)
|
Run tests for specified targets (default: c)
|
||||||
--nim:path Use a particular nim executable (default: $PATH/nim)
|
--nim:path Use a particular nim executable (default: $PATH/nim)
|
||||||
--directory:dir Change to directory dir before reading the tests
|
--directory:dir Change to directory dir before reading the tests
|
||||||
or doing anything else.
|
or doing anything else.
|
||||||
|
|
@ -164,7 +164,7 @@ Example "template" **to edit** and write a Testament unittest:
|
||||||
# Timeout seconds to run the test. Fractional values are supported.
|
# Timeout seconds to run the test. Fractional values are supported.
|
||||||
timeout: 1.5
|
timeout: 1.5
|
||||||
|
|
||||||
# Targets to run the test into (c, cpp, objc, js).
|
# Targets to run the test into (c, cpp, objc, js). Defaults to c.
|
||||||
targets: "c js"
|
targets: "c js"
|
||||||
|
|
||||||
# flags with which to run the test, delimited by `;`
|
# flags with which to run the test, delimited by `;`
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ Options:
|
||||||
--verbose print commands (compiling and running tests)
|
--verbose print commands (compiling and running tests)
|
||||||
--simulate see what tests would be run but don't run them (for debugging)
|
--simulate see what tests would be run but don't run them (for debugging)
|
||||||
--failing only show failing/ignored tests
|
--failing only show failing/ignored tests
|
||||||
--targets:"c cpp js objc" run tests for specified targets (default: all)
|
--targets:"c cpp js objc" run tests for specified targets (default: c)
|
||||||
--nim:path use a particular nim executable (default: $$PATH/nim)
|
--nim:path use a particular nim executable (default: $$PATH/nim)
|
||||||
--directory:dir Change to directory dir before reading the tests or doing anything else.
|
--directory:dir Change to directory dir before reading the tests or doing anything else.
|
||||||
--colors:on|off Turn messages coloring on|off.
|
--colors:on|off Turn messages coloring on|off.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue