diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/lib/thread.t | 2 | ||||
-rwxr-xr-x | t/op/nothread.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t index 9810ae48d9..b8e1b387ba 100755 --- a/t/lib/thread.t +++ b/t/lib/thread.t @@ -4,7 +4,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Config; import Config; - if ($Config{'ccflags'} !~ /USE_THREADS\b/) { + if (! $Config{'usethreads'}) { print "1..0\n"; exit 0; } diff --git a/t/op/nothread.t b/t/op/nothread.t index 7d42d276c8..a0d444d90b 100755 --- a/t/op/nothread.t +++ b/t/op/nothread.t @@ -9,7 +9,7 @@ BEGIN @INC = "../lib"; require Config; import Config; - if ($Config{'ccflags'} =~ /USE_THREADS\b/) + if ($Config{'usethreads'}) { print "1..0\n"; exit 0; |