Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

wishlist: make it possible from tests to probe if it's being run under single-process or multi-process mode #2

Open
lestrrat opened this Issue May 20, 2011 · 0 comments

Comments

Projects
None yet
1 participant

very specific itch that I'd like to scratch.. I want my test tool to behave differently depending on
the concurrency situation when the tests are being run.

currently Test::Harness does a local $ENV{HARNESS_OPTIONS} so I can't refer there, or
other places in %ENV. is there a way to get at this information? If not, would it be feasible to
include it somewhere reachable from the tests, like %ENV ?

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