projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f64702
)
1st attempt at skipping broke threads case.
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Mon, 28 Jan 2002 08:09:53 +0000
(08:09 +0000)
committer
Nick Ing-Simmons
<nik@tiuk.ti.com>
Mon, 28 Jan 2002 08:09:53 +0000
(08:09 +0000)
p4raw-id: //depot/perlio@14462
ext/threads/shared/t/0nothread.t
patch
|
blob
|
history
diff --git
a/ext/threads/shared/t/0nothread.t
b/ext/threads/shared/t/0nothread.t
index
0ce4e6e
..
af83a41
100644
(file)
--- a/
ext/threads/shared/t/0nothread.t
+++ b/
ext/threads/shared/t/0nothread.t
@@
-1,11
+1,13
@@
use strict;
-use Test::More ();
use Config;
-if ($Config{'useithreads'}) {
- Test::More->import( tests => 53 );
-}
-else {
- Test::More->import(skip_all => "no useithreads");
+BEGIN {
+ require Test::More;
+ if ($Config{'useithreads'}) {
+ Test::More->import( tests => 53 );
+ }
+ else {
+ Test::More->import(skip_all => "no useithreads");
+ }
}