use Test::More tests => 1; use Test::Synchronized; ... ok(cant_run_with_other_tests());
Test::Synchronized provides simple (and giant) lock for your tests.
If you have a few test that not works in parallel, you should not give up to run whole tests in parallel.
The default lock is based on process ID. If you want to use different system, Please try Test::Synchronized::Extensible.
Kato Kazuyoshi <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.