Skip to content

Conversation

@dmoody256
Copy link
Contributor

This PR adds the use of the COVERAGE_FILE environment variable so that coverage reports from test run in the tmp dir will be saved after those tmp dirs get deleted.

This is a resubmit of this PR: #36 that was never successfully added when the Github issues were attempted to be migrated from tigris.

test = TestSCons.TestSCons()

# TODO: figure out how to write the coverage data to the locked folder or maybe somewhere else
if 'COVERAGE_PROCESS_START' in os.environ:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move the test for running under coverage to QMTest/TestSCons.py such that you can use : if test.coverage_run(): Just to simplify any changes going forward?

@bdbaddog
Copy link
Contributor

Thanks for re-submitting the pull request with updates post bug migration snafu.

@dmoody256
Copy link
Contributor Author

dmoody256 commented Jan 17, 2018 via email

@bdbaddog
Copy link
Contributor

Looks good. Merging.

@bdbaddog bdbaddog merged commit 2a7c2af into SCons:master Jan 17, 2018
@dmoody256 dmoody256 deleted the CoverageImprovements branch April 13, 2018 17:57
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