Navigation Menu

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

buffered subtests show nothing on bailout #747

Closed
exodist opened this issue Dec 30, 2016 · 0 comments
Closed

buffered subtests show nothing on bailout #747

exodist opened this issue Dec 30, 2016 · 0 comments

Comments

@exodist
Copy link
Member

exodist commented Dec 30, 2016

use Test2::Bundle::Extended;

subtest foo => sub {
    ok(1);
    subtest bar => sub {
        ok(1);
        subtest baz => sub {
            ok(1);
            bail_out "xx";
        }   
    };  
};

done_testing;
# Seeded srand with seed '20161230' from local date.
ok 1
Bail out!  xx
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 after test #1.
@exodist exodist closed this as completed in 5b536dd Apr 4, 2017
exodist added a commit that referenced this issue Apr 5, 2017
    - Timeout when waiting for child procs and threads (#765)
    - Fix SIGSYS localization issue (#758)
    - Fix outdated docs (#759, #754)
    - Fix bail-out in buffered subtest (#747)
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