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

python tests don't work when code coverage flags are used? #135

Open
edwardhartnett opened this issue Apr 20, 2021 · 2 comments
Open

python tests don't work when code coverage flags are used? #135

edwardhartnett opened this issue Apr 20, 2021 · 2 comments
Assignees
Labels

Comments

@edwardhartnett
Copy link
Contributor

When I run the code coverage flags with python on, then the python tests fail. They should not.

Are the python tests doing something goofy like looking at text output?

@jbathegit
Copy link
Collaborator

I think this may be a systemic issue that depends on more than just whether or not code coverage flags are used. I don't normally run with those flags, because I do most of my work on the WCOSS using the Intel compilers, and in fact I don't even normally test with Python enabled. But I did try testing this library using -DENABLE_PYTHON=ON yesterday on the WCOSS, after manually loading in the python/3.6.3 module. Everything compiled OK, but all of the python tests still failed during the ctest check, even though I'm not using code coverage flags.

I think we may need @aerorahul to take a look at this when he has some time.

@aerorahul
Copy link
Contributor

It is likely that when `creating the python API, the code coverage flags need to be included, and are likely not.
I am not sure I will get to this anytime soon.

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

No branches or pull requests

3 participants