-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable test coverage that the python test suite runner disabled. (#…
…12282) * Re-enable test coverage that the python test suite runner disabled. The pattern for tests is not "test_*"; there are a bunch of tests (e.g. TestCluster) that don't match that. The correct pattern is "Test*" (and "TV_*" for the TV tests). "test*" also does not work right because it includes src/app/tests/suites/certification/tests.yaml which is not a test yaml we want to be running. Summary of changes: 1. Stop lowercasing test names in creating the test definitions, so we can actually match against "Test*" sanely. This also makes the test names match what consumers see in the actual filenames. 2. Change the test name detection to match on "Test*", which fixes the actual regression. 3. Move the lowercasing to the --target and --target-glob matching. 4. Add more useful error output when unrecognized --target values are specified, and exit with a failure in that case instead of silently succeeding. * Update the glob for skipping TV apps in darwin tests * make globs lowercase as well, since we match against lowercase names Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters