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

Executing jldoctest blocks out of process #893

Open
amitmurthy opened this issue Nov 27, 2018 · 1 comment
Open

Executing jldoctest blocks out of process #893

amitmurthy opened this issue Nov 27, 2018 · 1 comment

Comments

@amitmurthy
Copy link

It will be nice to have an option to execute jldoctest blocks in an external, spawned process. This would be an alternate option to wrapping the code block in a module before execution. Will help in addressing issues like JuliaLang/Distributed.jl#19 . stdout of the spawned process can be used to check for correctness.

@mortenpi
Copy link
Member

mortenpi commented Dec 1, 2018

Definitely something we could consider. Should be a non-default option of a doctest I think. It will make the doctest execution much slower. Is there some API that would allow us to spawn a child Julia REPL session or something? Or should it be done with run?

Not very high priority though, so implementation is up for grabs.

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

No branches or pull requests

2 participants