-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 1499: Setup CI build that runs Code Coverage
Changes to facilitate Code Coverage build * Put all unit tests in same project as code coverage is at the exe level * so splitting unit tests by component leads to artificially low numbers * default to all-in-one but left capability to split if people want it for local development * Add Google Test adapter pieces so unit tests can be run using CI components * Add some more exclusions to code coverage settings * Setup logging test to handle default logger coming from TestEnvironment * Previously the unit tests for Common didn't setup a default logger so there was no clash * Update build.py to split running tests from onnx tests * As the code coverage will run as part of 'normal' VS unit test execution, the build script doesn't need to run them * Tweak a few tests * Was just changing code coverage numbers to see how that showed up in builds I have setup a nightly build on the 'Hosted VS2017' queue that I'll enable once this is checked in. Once the AI-Win* queues are updated to VS2017 Enterprise I'll enable code coverage on those builds and eventually delete the extra Hosted VS2017 build. Related work items: #55
- Loading branch information
1 parent
37d10d4
commit b3f4234
Showing
10 changed files
with
302 additions
and
168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ cmake_build | |
gen | ||
*~ | ||
.vs | ||
TestResults/ |
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
Oops, something went wrong.