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

t/porting/podcheck.t don't open Win32 MSVC related compiler binary files #22684

Merged

Conversation

bulk88
Copy link
Contributor

@bulk88 bulk88 commented Oct 20, 2024

-Don't open binary build products and binary C debugger related disk files
these can't be parsed for POD, or are access-denied locked disk files for
paused processes in C debuggers. Users shouldn't exit open IDE windows
and open C debugger windows, just to make podcheck.t pass.


  • This set of changes does not require a perldelta entry.

Don't think it does. Its too perl core dev specific.

Comment on lines 435 to 436
| obj # Windows, ignore MSVC even for GCC
| pch # Windows, ignore MSVC even for GCC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR basically LGTM, but the latter two comments might be more informative if they just said what the files are, e.g.

                           | obj      # Windows, MSVC object files
                           | pch      # Windows, MSVC precompiled headers

@khwilliamson khwilliamson force-pushed the podcheck_t_ignore_MSVC_infrastructure branch from 7732c2a to c59efa4 Compare October 21, 2024 16:37
@khwilliamson
Copy link
Contributor

This looks pretty reasonable to me as well, but we are getting

Can't fork, trying again in 5 seconds at ../../t/loc_tools.pl line 571.
0 [main] perl 18230 child_info_fork::abort: address space needed by 'Langinfo.dll' (0xC0000) is already occupied

which I suspect is coincidental

-Don't open binary build products and binary C debugger related disk files
 these can't be parsed for POD, or are access-denied locked disk files for
 paused processes in C debuggers. Users shouldn't exit open IDE windows
 and open C debugger windows, just to make podcheck.t pass.
-.def is ascii but auto-gened and not Perl grammar
@bulk88 bulk88 force-pushed the podcheck_t_ignore_MSVC_infrastructure branch from c59efa4 to 8f3d461 Compare October 23, 2024 21:44
@bulk88
Copy link
Contributor Author

bulk88 commented Oct 23, 2024

revised/expanded, saw podcheck.t reading more types of binaries off disk that it shouldn't and can't contain POD

@richardleach
Copy link
Contributor

Looking good to me.

@khwilliamson khwilliamson merged commit 9a9d70c into Perl:blead Oct 24, 2024
32 of 33 checks passed
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.

3 participants