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

HARNESS_PERL_SWITCHES no longer set so Devel::Cover spams child-parent comunication #81

Open
baynes opened this issue Jul 16, 2018 · 0 comments
Assignees

Comments

@baynes
Copy link

baynes commented Jul 16, 2018

As of commit fbe955b ( pull request #63, issue #62 ) the environment variable HARNESS_PERL_SWITCHES is no longer set to "-MDevel::Cover".

But Devel::Cover looks fot that being set and goes into silent mode if it is set.

If a unit test involves forking a child and the parent reading the standard output from the child, then Devel::Cover not being in silent mode means it spams the ouput from the child, the parent objects and the test fails.

It has taken two days of investigation into why a working unit test stoped working on upgrading.

Please reinstate the setting of the environment variable, or work with Devel::Cover developers to find another way to shut it up.

@Leont Leont self-assigned this Jul 16, 2018
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

No branches or pull requests

2 participants