[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test failure due to LANG
From: |
Ruijie Yu |
Subject: |
Re: Test failure due to LANG |
Date: |
Sat, 22 Apr 2023 21:00:00 +0800 |
User-agent: |
mu4e 1.9.22; emacs 30.0.50 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Axel Kielhorn <org-mode@axelkielhorn.de> writes:
>
>> I’m building org with LANG=de.
>> As a result I get two failed tests:
>>
>> ...
>> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] =>
>> 0:01\n:END:\n" #(
>> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Do 06:00]--[2022-11-03 Do 06:01] =>
>> 0:01\n:END:\n"
>> ...
>> "CLOCK: [2023-02-19 Sun 21:30]--[2023-02-19 Sun 23:35] => 2:05" #(
>> "CLOCK: [2023-02-19 So 21:30]--[2023-02-19 So 23:35] => 2:05"
>
> I guess we can explicitly specify LANG in these tests.
> Though I am not 100% how because I cannot reproduce on my Linux.
>
> May you try
>
> (with-environment-variables (("LANG" "de"))
> (format-time-string "%A"))
> (with-environment-variables (("LANG" "en"))
> (format-time-string "%A"))
>
> and report the output?
> (For me, it is all same...)
I think it is still important to try different locales, like the test
failures I found using zh_CN.UTF-8 (in the other subthread) which would
not be uncovered if you only assume one single locale. I am working on
a patch that would hopefully help in this regard, which I will post
under the other subthread.
--
Best,
RY
[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), (continued)
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v5] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/25
- Re: [DRAFT PATCH v6] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/25
- Re: [DRAFT PATCH v6] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/26
- Re: [DRAFT PATCH v5] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/26
- Re: Test failure due to LANG, Axel Kielhorn, 2023/04/22
Re: Test failure due to LANG, Ihor Radchenko, 2023/04/22
Re: Test failure due to LANG, Axel Kielhorn, 2023/04/22