diff options
author | Tony Cook <tony@develop-help.com> | 2019-12-09 11:22:25 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2019-12-12 11:35:20 +1100 |
commit | c8b3a65299f4ba972f5fc898d8d582f6a167a6cd (patch) | |
tree | 049d77938c71383e2125b2f7dca512cd123d9a81 /ext | |
parent | e6c7056ba6f1dca6d04e6d36515a0ffc3a5ec02a (diff) | |
download | perl-c8b3a65299f4ba972f5fc898d8d582f6a167a6cd.tar.gz |
un-TODO pl_check.t and remove io/handle.t
io/handle.t depends on IO::Handle using the PL_check hack, but
Nicholas's back portable fix no longer uses that
Fix threaded perl detection, thanks to James Keenan.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/XS-APItest/t/pl_check.t | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/XS-APItest/t/pl_check.t b/ext/XS-APItest/t/pl_check.t index 87f9d892cc..e359ab8700 100644 --- a/ext/XS-APItest/t/pl_check.t +++ b/ext/XS-APItest/t/pl_check.t @@ -6,20 +6,16 @@ use Config; BEGIN { require '../../t/test.pl'; } +BEGIN { plan skip_all => 'no threads' unless $Config{useithreads} } use threads; - -$Config{usethreads} - or plan skip_all => "test requires threads"; - # do not use XS::APItest in this test use constant thread_count => 20; plan tests => thread_count; -local $::TODO = "PL_check isn't thread-safe"; push @INC, "t"; my @threads; for (1..thread_count) { |