Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken subtest under forkprove in version 1.301001_022 and newer #1019

Open
kocoureasy opened this issue Jan 18, 2025 · 0 comments
Open

Broken subtest under forkprove in version 1.301001_022 and newer #1019

kocoureasy opened this issue Jan 18, 2025 · 0 comments

Comments

@kocoureasy
Copy link

Hello,
I found that is broken subtest run in forkprove when I use Test::More in version 1.301001_022 and newer.
This is test file as forkprove.t:

#!/bin/env perl

use strict;
use warnings;

use Test::More tests => 1;

subtest 'no compile-time warnings' => sub {
    my @warnings;
    local $SIG{'__WARN__'} = sub { push @warnings, $_[0] };

    require Test::More;;

    is_deeply(\@warnings, [], 'no warnings');
  }

I run this test script with this command forkprove -MTest::More forkprove.t

In version 1.301001_021 and oder worked properly.

Regards
Igor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant