almr has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm using "prove" to run tests produced by shell scripts. These shell scripts should be tested with various shells. So, manually, prove -e sh -j9; prove -e bash -j9 etc.
Now, I'd like to run the tests in parallel for all the shells (that's where the bottleneck really is). I can see several options:
- Create a bunch of wrapper scripts that run the actual tests, and test the Nt * Nsh wrappers instead of the actual tests. Horrible.
- Set up the harness manually and call runtests with multiple aliases for each .t file
- Extend TAP::Harness
- Learn more about Plugin, SourceHandler
Where should I look?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: prove: parallel multiple shells
by Corion (Patriarch) on Aug 18, 2021 at 08:16 UTC | |
by almr (Sexton) on Aug 18, 2021 at 17:23 UTC | |
by Corion (Patriarch) on Aug 18, 2021 at 17:56 UTC | |
by almr (Sexton) on Aug 19, 2021 at 04:16 UTC | |
by Corion (Patriarch) on Aug 19, 2021 at 05:39 UTC | |
Re: prove: parallel multiple shells
by haukex (Archbishop) on Aug 18, 2021 at 08:00 UTC | |
by almr (Sexton) on Aug 18, 2021 at 12:08 UTC | |
by hippo (Bishop) on Aug 18, 2021 at 13:01 UTC | |
by eyepopslikeamosquito (Archbishop) on Aug 19, 2021 at 08:36 UTC |
Back to
Seekers of Perl Wisdom