Branch: refs/heads/smoke-me/khw-20085
Home: https://github.com/Perl/perl5
Commit: 5da9af3ff661ad055f31716a3bf19a33e3488ec6
https://github.com/Perl/perl5/commit/5da9af3ff661ad055f31716a3bf19a33e3488ec6
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
loc_tools: Create function, refactor
category_excluded() is a better name for what the current name
'is_category_valid" does. And it turns out that we need to use this
function on (those few) systems that don't have LC_CTYPE to avoid
executing code that depends on LC_CTYPE.
And we do need an improved is_category_valid() for other checks.
Commit: ad3dfb1e2c38a22f5b8d7b3d954e2658818f995c
https://github.com/Perl/perl5/commit/ad3dfb1e2c38a22f5b8d7b3d954e2658818f995c
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
loc_tools.pl: Move code in file
This is for future commits to call after it is defined
Commit: 000f6628e26bd442ed613ea0b1566ec867a4539c
https://github.com/Perl/perl5/commit/000f6628e26bd442ed613ea0b1566ec867a4539c
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Print better failing test numbers
This test module is 'required' from other perl test files. If it
encounters an error, it doesn't know how to report it. What it does is
call fail() if available, and a home-grown one otherwise. Prior to this
commit the home-grown version just made all tests number 0. This commit
changes that to make them sequentially numbered from a very high
starting one, so as not to interfere with the outer calls.
Commit: 9076104d695f3850e6af0cf10b9b8b63549ad56c
https://github.com/Perl/perl5/commit/9076104d695f3850e6af0cf10b9b8b63549ad56c
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Refactor _trylocale()
This function is used to see if a locale actually works on the current
platform. I was not fully aware of the glitches if a category is in one
locale, and LC_CTYPE is in another. This makes sure they are both the
same; and this results in some simplification.
Commit: d6bc4227ac4fc18d857449154dfac7a4bfaaebe5
https://github.com/Perl/perl5/commit/d6bc4227ac4fc18d857449154dfac7a4bfaaebe5
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Fail earlier
Move the code that returns failure into the loop, so won't keep
iterating if failure is going to happen anyway.
Commit: debac7657e368cc69c38996ff072a751f1c2853e
https://github.com/Perl/perl5/commit/debac7657e368cc69c38996ff072a751f1c2853e
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Add checks
This verifies that we can restore a locale that we were previously in,
and makes sure that we don't stay in a locale that doesn't work well.
Doing so has led to crashes.
Commit: b7d86d0c595222d3066e3ed4dd1124f120211aad
https://github.com/Perl/perl5/commit/b7d86d0c595222d3066e3ed4dd1124f120211aad
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Don't allow commas in locale names
This was a problem in some buggy Windows versions. This addition keeps
locales with this bug from being tested.
Commit: 4eb3cd1ebe29a07f1666cb9a84dc48c3677a0341
https://github.com/Perl/perl5/commit/4eb3cd1ebe29a07f1666cb9a84dc48c3677a0341
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Check for unsupported locales
This commit causes us not to view unsupported locales as legitimate for
testing. Core dumps occurred on some platforms without this.
It looks for a diagnostic that the next commit in this series will
generate.
Commit: c565efed9dc744df92abd45ffba8d8e91b5bd4d4
https://github.com/Perl/perl5/commit/c565efed9dc744df92abd45ffba8d8e91b5bd4d4
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: White-space only
Commit: 9e854e5cf3f899d0dd5e6e0ebbb3f55b3f47435b
https://github.com/Perl/perl5/commit/9e854e5cf3f899d0dd5e6e0ebbb3f55b3f47435b
Author: Karl Williamson <[email protected]>
Date: 2022-08-14 (Sun, 14 Aug 2022)
Changed paths:
M t/loc_tools.pl
Log Message:
-----------
t/loc_tools.pl: Turn off warnings in a timely manner
It doesn't matter much, but some warnings might be output by doing the
'use locale' before turning off warnings.
Compare: https://github.com/Perl/perl5/compare/423f0592a430...9e854e5cf3f8