Subject: | Make event loop tests usable by other distributions |
Split the event loop tests from POE in such a way that other
distributions may use it.
Matt Cashner suggests splitting the event loop test files into a
separate cvs module, so other authors can cvs co/update it as necessary.
So, to do this:
1. Identify the event loop tests. That's easy:
a. make distclean
b. find t/30_loops | grep -v CVS
2. Place them into a separate cvs module. That's probably easy, too,
but I'll need to look it up. I don't often create new cvs modules.
(requires someone with write access to poe's cvs tree)
3. Split mylib/gen-tests.perl into two versions.
a. One to generate the event loop tests.
b. One to generate all the other tests.
c. Fix mylib/Makefile-*.pm to call both of them.
4. Document the test system.
a. How to check them out, update them, la la la. Cvs stuff.
b. That MANIFEST must be managed when the set of test files change.
c. How to glue the tests into Makefile.PL:
i. Call the test generator to create dynamic tests.
ii. Find all the generated tests for "make test".
iii. Clean up the dynamic tests during "make clean".