Skip to content

Group the the code coverage, profiling, and pgo tests together #16070

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 3 commits into from
Apr 20, 2018

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Apr 20, 2018

Grouping tests for profiling instrumentation together will make it easier
to test changes to the code coverage logic.

As a part of this move, I've renamed and simplified some test files.

There are a handful of tests which relate to profiling which I have not
moved. These include tests for the driver and for the SIL optimizer. It
makes more sense to keep those tests where they are.

vedantk added 3 commits April 20, 2018 11:25
This will make it easier to test changes to the code coverage logic.

There are a handful of tests which relate to profiling which I have not
moved. These include tests for the driver and for the SIL optimizer. It
makes more sense to keep those tests where they are.
This file tests code coverage of primary files, so I've changed the name
of the file to reflect that.
This file tests code coverage of closures. It had several check lines
which obscured the meaning of the test, and its check lines were in a
strange order.

Remove the extra checks and disable -emit-sorted-sil.
@vedantk vedantk requested a review from shajrawi April 20, 2018 19:47
@vedantk
Copy link
Contributor Author

vedantk commented Apr 20, 2018

@swift-ci Please smoke test

@vedantk vedantk merged commit c3f4d99 into swiftlang:master Apr 20, 2018
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