]> git.ipfire.org Git - thirdparty/gettext.git/commit
examples: Make 'check-example' more maintainable.
authorBruno Haible <bruno@clisp.org>
Sun, 20 Jul 2025 15:56:37 +0000 (17:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 Jul 2025 15:56:37 +0000 (17:56 +0200)
commitcbc153416ee5a46a1ec4d9ff7e46b0a3bb0e1d8f
tree8aba0401a921a96b29b38381d01296d530370145
parentd16c3c8f0554be9a6983bb14fae4987340f8f4c6
examples: Make 'check-example' more maintainable.

Some examples require specific sets of environment variables.
E.g. hello-go requires a PATH which uses GCC 13 or 14, not GCC 15,
due to <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119098>.

* gettext-tools/examples/check-examples: Rewrite to use one top-level function
per sample, instead of one top-level function for each check.
gettext-tools/examples/check-examples