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

Coverage analysis ignores code executed at CTFE #126

Open
SirNickolas opened this issue Nov 19, 2023 · 2 comments
Open

Coverage analysis ignores code executed at CTFE #126

SirNickolas opened this issue Nov 19, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@SirNickolas
Copy link
Contributor

Fix: dub test --build=unittest-cov-ctfe --verbose.

https://dub.pm/package-format-sdl.html#build-types

@andrey-zherikov
Copy link
Owner

Unfortunately dmd segfaults:

$ dub test --build=unittest-cov-ctfe
             Generating test runner configuration 'argparse-test-library' for 'library' (library).
    Starting Performing "unittest-cov-ctfe" build using /usr/bin/dmd for x86_64.
    Building argparse 1.3.0+commit.30.ga907d08: building configuration [argparse-test-library]
Segmentation fault
Error /usr/bin/dmd failed with exit code 139.

I tried dmd 2.103.1 and 2.104. Also the latest one (2.106.0) is failing in CI as well.

There is no way to fix this issue until compiler is fixed.

@SirNickolas
Copy link
Contributor Author

Sorry, should have checked myself.

Seems there is a compiler bug to work around. I’ll see if I can track it down.

@andrey-zherikov andrey-zherikov added the wontfix This will not be worked on label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants