mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
docs(test): using cmake directly (without make) #22781
This commit is contained in:
parent
dc5a433025
commit
74f05a152d
@ -149,14 +149,26 @@ To run a *specific* unit test:
|
|||||||
|
|
||||||
TEST_FILE=test/unit/foo.lua make unittest
|
TEST_FILE=test/unit/foo.lua make unittest
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
cmake -E env "TEST_FILE=test/unit/foo.lua" cmake --build build --target unittest
|
||||||
|
|
||||||
To run a *specific* functional test:
|
To run a *specific* functional test:
|
||||||
|
|
||||||
TEST_FILE=test/functional/foo.lua make functionaltest
|
TEST_FILE=test/functional/foo.lua make functionaltest
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
cmake -E env "TEST_FILE=test/functional/foo.lua" cmake --build build --target functionaltest
|
||||||
|
|
||||||
To *repeat* a test:
|
To *repeat* a test:
|
||||||
|
|
||||||
BUSTED_ARGS="--repeat=100 --no-keep-going" TEST_FILE=test/functional/foo_spec.lua make functionaltest
|
BUSTED_ARGS="--repeat=100 --no-keep-going" TEST_FILE=test/functional/foo_spec.lua make functionaltest
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
cmake -E env "TEST_FILE=test/functional/foo_spec.lua" cmake -E env BUSTED_ARGS="--repeat=100 --no-keep-going" cmake --build build --target functionaltest
|
||||||
|
|
||||||
### Filter by tag
|
### Filter by tag
|
||||||
|
|
||||||
Tests can be "tagged" by adding `#` before a token in the test description.
|
Tests can be "tagged" by adding `#` before a token in the test description.
|
||||||
|
Loading…
Reference in New Issue
Block a user