Skip to content

Fix LWP jcpan result classification#830

Closed
fglock wants to merge 1 commit into
masterfrom
fix/lwp-useragent-jcpan
Closed

Fix LWP jcpan result classification#830
fglock wants to merge 1 commit into
masterfrom
fix/lwp-useragent-jcpan

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 28, 2026

Summary

  • expose requested jcpan arguments to CPAN distroprefs via PERLONJAVA_JCPAN_ARGS
  • keep the libwww-perl dependency-only test skip out of direct LWP and LWP::UserAgent runs
  • classify PERLONJAVA_SKIP -- ... phase skipped in cpan_random_tester.pl as SKIP distroprefs instead of FAIL Unknown test outcome
  • add a focused unit test for the libwww-perl distropref match behavior

Verification

  • timeout 60 ./jperl src/test/resources/unit/cpan_distroprefs_jcpan_args.t
  • perl -c dev/tools/cpan_random_tester.pl
  • timeout 1200 make
  • timeout 1200 ./jcpan -t LWP::UserAgent
  • timeout 1200 ./jcpan -t LWP

Both direct CPAN targets now run the libwww-perl test phase and parse as PASS 157/157.

Notes

MooseX::Types::Moose can still hit Unknown test outcome in older random-tester logs for a separate truncated/incomplete Build test output shape. This PR fixes the LWP false regressions and the explicit distroprefs skip parser case.

Expose the requested jcpan arguments to CPAN distroprefs so dependency-only
test skips can avoid direct target runs. Use that for libwww-perl so direct
LWP and LWP::UserAgent checks run the upstream suite instead of being skipped.

Teach cpan_random_tester.pl to classify explicit PERLONJAVA_SKIP distropref
phase output as SKIP rather than FAIL with Unknown test outcome.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
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

Successfully merging this pull request may close these issues.

1 participant