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

Bug in test runs with SpecialFunctions, DoubleFloats and Requires #75

Closed
mfherbst opened this issue Jan 28, 2020 · 2 comments
Closed

Bug in test runs with SpecialFunctions, DoubleFloats and Requires #75

mfherbst opened this issue Jan 28, 2020 · 2 comments

Comments

@mfherbst
Copy link

mfherbst commented Jan 28, 2020

First off: I encountered strange behaviour when using DoubleFloats and Requires v1.0 in one of my projects and I suspect it could have something to do with Requires. If that's not the case, I am very happy for further hints how to find the root cause of the issue.

I boiled the problem down to a small example repository https://github.com/mfherbst/BugRequiresDoubleFloat with the test project Tester. The Tester project depends on Requires and SpecialFunctions. When I run

] activate .
] test Tester

as I would test such a project, the test fails with a StackOverflowError occurring in this line, a file which is conditionally loaded by Requires indirectly from the __init__ of DoubleFloats.

However, if I remove the dependency on Requires from Tester via ] rm Requires the tests pass. Also in either case (with the dependency on Requires and without) a bare include of the runtests.jl in the activated environment of Tester from the julia shell works and passes all the tests.

Thanks for any ideas how to debug this further ...

@mfherbst
Copy link
Author

By the way ... downgrading to Requires v0.5.2 also works around the problem.

@mfherbst
Copy link
Author

Seems to be fixed now.

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

1 participant