Tassilo von Parseval wrote:
Hi,
I was told that Test::More patches should now go to this list so here we
go.
The attached patch serves as a draft for enabling test-scripts that fork
without the test-counter getting confused. It does so by using a
Storable imaged shared between the processes. The patch however does
need some modification because there's a race condition in there. It
uses lock_nstore and lock_retrieve to store the current test-metrics
thusly:
To get back to the subject at hand, can you explain what the
implications of this might be for portability, given the universality of
Test::More.
Wouldn't this patch introduce IPC and forking portability issues to
Test::More, when it currently does have these issues (that I'm aware of).
Do you think this might work better, or could be implemented as, a
seperate Test::Fork type module?
Adam K