Skip to content
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

DM Code coverage #1534

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

Cyberboss
Copy link
Contributor

@Cyberboss Cyberboss commented Nov 14, 2023

Enabled via CVar opendream.code_coverage_file which specifies the output file location. CWD is assumed to contain the sources.

Content.Tests generate coverage files. This can potentially be uploaded to codecov.io. I couldn't get that working though.

Fixes issues with <global init> proc ID and a race condition in DM tests.

I want this for generating code coverage for the TGS DMAPI.

Allocate it as the last proc ID.

I tried proc ID 0, but that created an error I couldn't debug. This is safer.
- Optionally output cobertura coverage XML with a CVar.
- Output coverage in tests.
@Cyberboss Cyberboss force-pushed the CodeCoverage branch 2 times, most recently from 9239f08 to c64e8bf Compare November 14, 2023 17:20
@Cyberboss
Copy link
Contributor Author

This has issues with including the stdlib

@Cyberboss Cyberboss marked this pull request as draft November 14, 2023 17:31
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Cyberboss
Copy link
Contributor Author

Bad merge

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant