[php-src] PR #22415: Skip ISO-2022-JP tests on unknown libc
| From: | orlitzky | Date: | Tue, 23 Jun 2026 14:30:25 +0000 |
| Subject: | [php-src] PR #22415: Skip ISO-2022-JP tests on unknown libc | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36571@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22415
Author: orlitzky
Fixes two failures in https://github.com/php/php-src/issues/22413.
The ISO-2022-JP encoding is stateful, so there is no single "right answer" in these tests.
Musl ("unknown") uses a less-efficient encoding that makes the tests fail. To fix it, we
can just skip these tests on unknown libc, since in that case we can't expect the expected
output.
Cherry-picked from https://github.com/php/php-src/pull/16840