Fix Devel::Autoflush dependency tests#829
Merged
Merged
Conversation
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>
ebd0a26 to
59f9ba8
Compare
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
./jcpan -t Devel::Autoflushosnamefrom-V:osnameandConfig.pmConfig{_exe}follow the actual Windows PerlOnJava launcher suffix sojperl.batis not rewritten asjperl.bat.exe$Config{archlibexp}/COREpaths and empty linker flag defaultsTests
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