Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4712a4c94e5974bba8ef97d68aadf2b99c0b4ff4 https://github.com/Perl/perl5/commit/4712a4c94e5974bba8ef97d68aadf2b99c0b4ff4 Author: Karl Williamson <k...@cpan.org> Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths: M t/test.pl Log Message: ----------- t/test.pl: Add ability to cancel an watchdog timer A watchdog affects the entire rest of the file. As more tests get added to a test file, they could end up triggering the watchdog. This commit adds the capability to cancel a watchdog if the potentially problematic test finishes in time. Commit: d44172c6022f8ca803930708edb35b6ba6f56833 https://github.com/Perl/perl5/commit/d44172c6022f8ca803930708edb35b6ba6f56833 Author: Karl Williamson <k...@cpan.org> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M t/re/pat_advanced.t Log Message: ----------- pat_advanced.t: Cancel a watchdog timer This timer had been skipped until 91d110e02db3b8905c4c48d5fdd76a8439de31f3. But with it enabled, on slower or heavily loaded systems the test file does not always complete. Take advantage of the new ability to cancel watchdog timers to prevent this situation. Another possibility would to have been to move this test to be the final one in the file. But then effort has to be expended to keep it in that position as new tests are added; and what if such tests also require a watchdog? It's simplest to have the watchdog affect only the single test that needs it. Yet another possibility is to make this test into fresh_perl. But that sort of interferes with what t/re/pat_advanced_thr.t does. Commit: 2f77b97b5e40ea5a874b186190a13347805c13d8 https://github.com/Perl/perl5/commit/2f77b97b5e40ea5a874b186190a13347805c13d8 Author: Karl Williamson <k...@cpan.org> Date: 2022-10-18 (Tue, 18 Oct 2022) Changed paths: M t/test.pl Log Message: ----------- t/test.pl: Outdent a wrongly indented line Compare: https://github.com/Perl/perl5/compare/505ba1150925...2f77b97b5e40