ci: Remove broken --single-test flag from matrix runner #181
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
--single-testflag inmatrix_run_android_tests.shclaimed to "override package filter" but only appended-e class, not removing existing-e package/-e notPackagefilters. Android instrumentation applies filters conjunctively, so tests outside the shard's package scope would match nothing.Changes
Removed
--single-testfunctionality from matrix runnerbuild_instrument_command()Updated test sharding documentation
--single-testfrom parameter tableRationale
Running a single test defeats the purpose of sharded execution. Users needing single-test execution can use
run_android_tests.sh(non-matrix runner), which retains this functionality.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Note
Removes the misleading
--single-testoption from the matrix test runner and aligns docs accordingly.--single-testparsing, help text, and filter handling fromscripts/matrix_run_android_tests.sh(no more-e classinjection)docs/testing/test_sharding.md: removes--single-testfrom the parameters table and deletes the single-test usage sectionWritten by Cursor Bugbot for commit e6703eb. This will update automatically on new commits. Configure here.