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:
2d42390
)
Skip test if perl configured without threads::shared
author
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:11:31 +0000
(13:11 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:11:31 +0000
(13:11 +0000)
p4raw-id: //depot/perl@22954
ext/threads/shared/t/disabled.t
patch
|
blob
|
history
diff --git
a/ext/threads/shared/t/disabled.t
b/ext/threads/shared/t/disabled.t
index
067cf25
..
1add2b8
100644
(file)
--- a/
ext/threads/shared/t/disabled.t
+++ b/
ext/threads/shared/t/disabled.t
@@
-5,6
+5,11
@@
BEGIN {
chdir 't';
@INC = '../lib';
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bthreads::shared\b/) ){
+ print "1..0 # Skip -- Perl configured without threads::shared module\n";
+ exit 0;
+ }
}
# Can't use Test::More, it turns threads on.