Skip to content

Generate a "pure" per-chunk mapping file #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 9, 2019
Merged

Generate a "pure" per-chunk mapping file #105

merged 6 commits into from
Aug 9, 2019

Conversation

marco-c
Copy link
Collaborator

@marco-c marco-c commented Aug 6, 2019

The normal chunk_mapping database contains both per-test data and per-chunk data. The per-test data is only available for test suites which support per-test mode, the per-chunk data is used as a fallback for the remaining test suites.
The coverage try selector is relying on the absence of the per-chunk data for per-test-supported suites, so I can't modify the normal mapping database to add per-chunk data for per-test-supported suites.
So, I'm adding a new mapping file which contains per-chunk data exclusively.

Note: I suggest reviewing mainly the second commit, the first is just moving some code around, the third is applying formatting (as I forgot to install the git hooks before :P)

@marco-c marco-c requested a review from La0 August 6, 2019 17:08
@marco-c
Copy link
Collaborator Author

marco-c commented Aug 6, 2019

We'll be able to use this to evaluate a first version of the coverage scheduler using per-chunk data. The per-test scheduler will be likely better, but this is a useful test (much less work to do and can already be an improvement over the status quo).

@La0
Copy link
Contributor

La0 commented Aug 9, 2019

Activedata is a tad slow, but generation works on my computer

@La0 La0 merged commit 6b4ff0f into master Aug 9, 2019
@marco-c marco-c deleted the pure_chunk_mapping branch August 9, 2019 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants