Skip to content

Fix Devel::Autoflush dependency tests#829

Merged
fglock merged 4 commits into
masterfrom
fix/devel-autoflush
May 28, 2026
Merged

Fix Devel::Autoflush dependency tests#829
fglock merged 4 commits into
masterfrom
fix/devel-autoflush

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 28, 2026

Summary

  • fix IO::CaptureOutput failures blocking ./jcpan -t Devel::Autoflush
  • report Perl-compatible osname from -V:osname and Config.pm
  • make Config{_exe} follow the actual Windows PerlOnJava launcher suffix so jperl.bat is not rewritten as jperl.bat.exe
  • prefer live fd registry entries for numeric dup after fd reuse
  • make fresh empty slurp reads return the empty string
  • cherry-pick PR Fix LWP jcpan result classification #830 CPAN/jcpan distroprefs changes for LWP target result classification
  • cherry-pick PR Fix Config core paths for CBuilder #831 Config core path changes so ExtUtils::CBuilder sees real $Config{archlibexp}/CORE paths and empty linker flag defaults

Tests

  • make
  • ./jperl src/test/resources/unit/config_core_paths.t
  • ./jperl src/test/resources/unit/io_captureoutput_regressions.t
  • ./jperl src/test/resources/unit/cpan_distroprefs_jcpan_args.t
  • ./jcpan -t Devel::Autoflush
  • ./jcpan -t LWP::UserAgent
  • ./jcpan -t MooseX::Types::Moose

Fix IO::CaptureOutput regressions that blocked Devel::Autoflush:
- report Perl-compatible osname from -V:osname and Config.pm
- allow fresh empty slurp reads to return an empty string
- prefer live fd registry entries for numeric dup after fd reuse

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

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock force-pushed the fix/devel-autoflush branch from ebd0a26 to 59f9ba8 Compare May 28, 2026 14:13
fglock and others added 3 commits May 28, 2026 16:19
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>
Teach Config::_exe to follow the actual PerlOnJava launcher suffix on Windows. This prevents core test helpers from turning jperl.bat into jperl.bat.exe while still allowing a future jperl.exe launcher to report .exe.

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

Co-Authored-By: Codex <codex@openai.com>
Expose absolute core library paths under ~/.perlonjava/core and create the
CORE include directory on demand so CPAN build helpers that probe
$Config{archlibexp}/CORE see a real directory.

Also provide empty ldflags and lddlflags defaults so ExtUtils::CBuilder does
not warn when environment linker flags are appended.

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

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock merged commit 4e5c308 into master May 28, 2026
2 checks passed
@fglock fglock deleted the fix/devel-autoflush branch May 28, 2026 15:20
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