diff --git a/script/test b/script/test index 09cf9f83..1ec50e30 100755 --- a/script/test +++ b/script/test @@ -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 diff --git a/script/test.cmd b/script/test.cmd index d1b462e8..de1f8500 100644 --- a/script/test.cmd +++ b/script/test.cmd @@ -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