test script: All tests are in the CLI package
This commit is contained in:
parent
b89348e7fe
commit
8a675d184c
2 changed files with 2 additions and 2 deletions
|
|
@ -79,5 +79,5 @@ if [[ "${mode}" == "debug" ]]; then
|
|||
test_binary=$(cargo test --no-run --message-format=json 2> /dev/null | jq -rs '.[-1].filenames[0]')
|
||||
lldb "${test_binary}" -- $top_level_filter
|
||||
else
|
||||
cargo test --jobs 1 $top_level_filter -- --nocapture
|
||||
cargo test -p tree-sitter-cli --jobs 1 $top_level_filter -- --nocapture
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ setlocal
|
|||
set TREE_SITTER_TEST=1
|
||||
set RUST_TEST_THREADS=1
|
||||
set RUST_BACKTRACE=full
|
||||
cargo test "%~1" -- --nocapture
|
||||
cargo test -p tree-sitter-cli "%~1" -- --nocapture
|
||||
endlocal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue