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

test_runner.t fails on Perl 5.38.0 GNU/Linux #39

Open
bodo-hugo-barwich opened this issue Aug 6, 2023 · 1 comment
Open

test_runner.t fails on Perl 5.38.0 GNU/Linux #39

bodo-hugo-barwich opened this issue Aug 6, 2023 · 1 comment
Assignees
Labels
testing to have a thoroughly tested module

Comments

@bodo-hugo-barwich
Copy link
Owner

FAIL Process-SubProcess-2.1.2 5.38.0 GNU/Linux

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/david/cpantesting/perl-5.38.0-SILENT_NO_TAINT/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test_group.t ........ ok
t/test_performance.t .. ok
Can't modify undef operator in scalar assignment at t/test_runner.t line 154, near "undef;"
Execution of t/test_runner.t aborted due to compilation errors.
t/test_runner.t ....... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/test_subprocess.t ... ok

Test Summary Report
-------------------
t/test_runner.t     (Wstat: 65280 (exited 255) Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=4, Tests=12, 62 wallclock secs ( 0.12 usr  0.02 sys +  2.80 cusr  0.55 csys =  3.49 CPU)
Result: FAIL
Failed 1/4 test programs. 0/12 subtests failed.
make: *** [Makefile:883: test_dynamic] Error 255
@bodo-hugo-barwich
Copy link
Owner Author

Earlier versions of Perl accepted missing semicolon still as parte of a concatenated declaration.
But recent versions correctly accuse this as an error because it can have undesired side effects.

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

No branches or pull requests

1 participant