[PATCH v2 09/10] ci: fix propagating UTF-8 test locale in musl-based Meson job
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Feb 19, 2025, 13:13 UTC
- Message-ID
- <20250219-b4-pks-meson-contrib-v2-9-1ba5d7fde0b9@pks.im>
- In-Reply-To
- <20250219-b4-pks-meson-contrib-v2-0-1ba5d7fde0b9@pks.im>
The musl-based Meson job is supposed to explicitly specify the UTF-8 locale used for testing, which has been introduced with 84bb5eeace7 (ci: switch linux-musl to use Meson, 2025-01-28). That commit had two issues though:
- We continue to refer to "linux-musl", even though the job has been
renamed in the same commit to "linux-musl-meson". - We use the wrong option name to specify the locale. This was not
noticed though due to the first issue.Fix both of these issues by fixing both the job and option naems.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- ci/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/lib.sh b/ci/lib.sh index 028fea0e7b5..84d11452650 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -348,8 +348,8 @@ case "$jobname" in linux32) CC=gcc ;; -linux-musl) - MESONFLAGS="$MESONFLAGS -DGIT_TEST_UTF8_LOCALE=C.UTF-8" +linux-musl-meson) + MESONFLAGS="$MESONFLAGS -Dtest_utf8_locale=C.UTF-8" ;; linux-leaks|linux-reftable-leaks) export SANITIZE=leak
-- 2.48.1.666.gff9fcf71b7.dirty