I now enforce a threaded perl during testing, not during execution. This should pacify cpantesters

This commit is contained in:
Dima Kogan
2011-02-04 20:30:19 -08:00
parent 82207174ea
commit 61ff77f9f4
2 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,14 @@
#!/usr/bin/perl
# require a threaded perl for my tests. This block lifted verbatim from the cpantesters wiki
BEGIN {
use Config;
if (! $Config{'useithreads'}) {
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
exit(0);
}
}
use Test::More tests => 1;
use Test::Script::Run;