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

crashes on "empty" test with timer option #4

Open
bleargh45 opened this issue Jan 6, 2021 · 1 comment
Open

crashes on "empty" test with timer option #4

bleargh45 opened this issue Jan 6, 2021 · 1 comment

Comments

@bleargh45
Copy link
Owner

Migrated from rt.cpan.org #112602 (status was 'new')

Requestors:

From [email protected] on 2016-03-01 09:58:07
:

Not sure if it's a bug, but:

$ echo 1 > t.t
$ prove --timer --formatter=TAP::Formatter::JUnit t.t
Modification of non-creatable array value attempted, subscript -1 at /usr/local/share/perl/5.14.2/TAP/Formatter/JUnit/Session.pm line 164.

does not crash on empty tests but with right output:

===
use Test::More;
done_testing;

@bleargh45
Copy link
Owner Author

From [email protected] on 2016-05-29 11:32:02
:

Also crashed when test failed due to compile errors

$perl t2.t
Global symbol "$notavar" requires explicit package name at t2.t line 2.
Execution of t2.t aborted due to compilation errors.

$ prove --timer --formatter=TAP::Formatter::JUnit t2.t
Global symbol "$notavar" requires explicit package name at t2.t line 2.
Execution of t2.t aborted due to compilation errors.
Modification of non-creatable array value attempted, subscript -1 at /usr/local/share/perl/5.14.2/TAP/Formatter/JUnit/Session.pm line 164.

On Tue Mar 01 12:58:07 2016, vsespb wrote:

Not sure if it's a bug, but:

$ echo 1 > t.t
$ prove --timer --formatter=TAP::Formatter::JUnit t.t
Modification of non-creatable array value attempted, subscript -1 at
/usr/local/share/perl/5.14.2/TAP/Formatter/JUnit/Session.pm line 164.

does not crash on empty tests but with right output:

===
use Test::More;
done_testing;

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