From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0EPEMVT0Q2RvwgAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 16:51:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YH/LMVT0Q2QmLgEA9RJhRA (envelope-from ) for ; Sat, 22 Apr 2023 16:51:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E011E9639 for ; Sat, 22 Apr 2023 16:50:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqEZ4-0005ng-G0; Sat, 22 Apr 2023 10:50:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqEZ2-0005nJ-NY for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 10:50:12 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqEYu-0002A9-V4 for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 10:50:07 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1682175002; cv=none; d=strato.com; s=strato-dkim-0002; b=XexKcegVsfk4Q1NmPyanoQifm1lUvZgkpXTnKeqiz8unb2/uebb58cyOr4Xwr41j36 mzai4ZU70GDRGGOGUYWJMBY4VfUyjnJpUobXkZoDhwSutfGKtEFoqAG75mkVX4gKHqVO x7vi3B2JTjnz9vcFBJM71ypruHWQCoJ8q4l7/+TZe5y8aS5qEnxKmzi/pFZEE4CCdKlp gUQlQwAYJ9mnz2BliA5JTfgntlMcGrKtYCnL+l9z5Jw7/t/PRV5oQ4xUu5/N+WMFU0sN 2VtjEJa2Kf7/BAI8Xlh/HTOqueClS6vJAObiHXfCGV9t3SK8mmRt9xMKSTPHt61etmTm JIiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1682175002; s=strato-dkim-0002; d=strato.com; h=Message-Id:In-Reply-To:To:References:Date:Subject:From:Cc:Date:From: Subject:Sender; bh=oAoEkGYZC+pl4tXnAZadPHkJhyOuEKhPkSHAPI3genI=; b=DPnOXg9yAil7R+zhp6TjSkeAme24ei5KHMe80yPFpT3+1Tnd981WfExrCbkzjPCySj 1SM+r+1HXmoroUloBL14xqe218zeU+l7jr5Zf3mCPxTVcCoK0J96qkUgA7efos3Rb9Ss KaekD857fEZSRz5CRf2oDoSqbMN4U6aWzrqEnl5Ruf1bFmA+nEYDiDZ/5rUNNGuZvyTG G52sJmBqU4/lWfanQNs0QdYjUFyQAWcoxxpkDMYT35sHHJczfBwrUpPAfghSC6AEoZC0 tAELdR6JTU0kZHPS2hklAhWG+Bp3sJarLstR14TB0a7ZHnrntCAIU8MmvCh1vf239DHU uKEQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1682175002; s=strato-dkim-0002; d=axelkielhorn.de; h=Message-Id:In-Reply-To:To:References:Date:Subject:From:Cc:Date:From: Subject:Sender; bh=oAoEkGYZC+pl4tXnAZadPHkJhyOuEKhPkSHAPI3genI=; b=MYVtHl5d7lMzCHklEbGZWXirjAd6gNdfhaw+JT9hmmq2b+aIm2h+2g6osA1yWzBPb7 KaGUfzfh+HjZkVt9h67mZXCfyTyKyzxpfN27+pLXHNVXO1yIluEkSQ3sD+tiJAg7B7NB wDgqnd3XyysBF3dfw33kU0xSMf9bIr/TCoIUFcoH5xfQzod9BMVgqjFeldpsT1Dw3S/l LMrGvotxPQozXVfzntd3c+sgJhII8k71pTTk+JuxhK4Ko8c2waO8jf4H6WF1dgY1Aed6 ELFE4PVk7PSPEPzywh31pxGfyBYSnqCCinlTEAPgG2z+/SC9JyIRM+N3DHzm3/0Edspw X3EA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1682175002; s=strato-dkim-0003; d=axelkielhorn.de; h=Message-Id:In-Reply-To:To:References:Date:Subject:From:Cc:Date:From: Subject:Sender; bh=oAoEkGYZC+pl4tXnAZadPHkJhyOuEKhPkSHAPI3genI=; b=t5EJmTj0I6Y84FYTY0OuHzq5eFciWIBYmaV/rUiqlxsWoiAJviIvrS50uVlcMzlPVT CK9hSIiC9PZiie0U5eBg== X-RZG-AUTH: ":OGkcVUGwfvMLvkVusQ1g9gJQt7WL23nhrqI2F4F9RuxzbAQePvTSV0cr4JoWPbaGO12Lou58bx8tBp9NrAMEt4Ji+6aGNck3SXcD+mjIPQ==" Received: from smtpclient.apple by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id Ya0cd2z3MEo2ApO (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate) for ; Sat, 22 Apr 2023 16:50:02 +0200 (CEST) From: Axel Kielhorn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG) Date: Sat, 22 Apr 2023 16:50:01 +0200 References: To: Org-Mode Mailing List In-Reply-To: Message-Id: <32E3D56A-9DDF-4D70-BBA6-2DB71919EC98@axelkielhorn.de> X-Mailer: Apple Mail (2.3654.120.0.1.15) Received-SPF: none client-ip=81.169.146.217; envelope-from=org-mode@axelkielhorn.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=2; s=key1; d=yhetil.org; t=1682175059; a=rsa-sha256; cv=fail; b=j/2oUSjic03Htcu0VIhmjwyhq56GRvf24f0NGiJN0B3HM4swwajBFK1FuIbkZK+exTNhGY WhNoEH2pSzYg9+d9LpQUgUFNishVNqipIec27n7e8I6ENfe3KaYskkMUkJd4KZF9Tq8x0J d7qgQu/rcpUNwXCkO97Gc2BhOXrtsYFGmHzzS54gzJS0tFC1ZrVhxefXtuu9Fr6MeIjUUc 20+vkyzvldN08lE93E4Hv+SHxzqOWj2B48gu473eJyoDW8GHQ1S55OXf4j/eGvtIaxepHK xfYnzGGyOe2TUdaTjcI8O8q56BqB3krLp7Ul5E9KW0wdWJBs5APDvxAi1wAbww== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0002 header.b=MYVtHl5d; dkim=fail ("headers eddsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0003 header.b=t5EJmTj0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682175059; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oAoEkGYZC+pl4tXnAZadPHkJhyOuEKhPkSHAPI3genI=; b=nNwlV5mXZh0M8Kr47Mm0lq6N6i3u4BUFsOoazmYMXhbGBoEdG2YoNUGBBHpaeNa1PiQmZd JggFHk+WX2N5G/FHE4eUmr1kVsoRkwr1foh15LOvoLmSxNniYJv9VAh66Su2/1lVDN25k4 xxVocE7PN+6O5e9k9hNP/aGwK53lsLgVd2RUjQBZfNKZ9NDl8jIrX8g2nvunhEp7v+16k4 q1Ui7UN1f6H2S2fGyD+71SMj8UqKtRObhyNLGWQWaOfgyxX5EQ5tr/49DZPIxEnbXEKsBw aRylf5jphqMpjakRqFTwLpqax0H/R0bHeuIV3ekDQLh5SwYpGn22AhRFXe+hLw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0002 header.b=MYVtHl5d; dkim=fail ("headers eddsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0003 header.b=t5EJmTj0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-Migadu-Spam-Score: 2.49 X-Spam-Score: 2.49 X-Migadu-Queue-Id: E011E9639 X-TUID: a+aQLf5Vz+UH > Am 22.04.2023 um 15:01 schrieb Ruijie Yu via General discussions about = Org-mode. : >=20 >=20 > Ruijie Yu via "General discussions about Org-mode." = writes: >=20 >> Ruijie Yu via "General discussions about Org-mode." = writes: >>=20 >>> Ruijie Yu via "General discussions about Org-mode." = writes: >>>=20 >>>> Axel Kielhorn writes: >>>>=20 >>>>> Hello! >>>>>=20 >>>>> I=E2=80=99m building org with LANG=3Dde. >>>>> As a result I get two failed tests: >>>>=20 >>>> Reproducible using "LANG=3Dzh_CN.UTF-8". In fact, I got more = failed tests >>>> in my testing. I think the OP's two test failures are due to = hardcoded >>>> English expected result, whereas the additional test failures on my >>>> testing are probably due to the fact that each Chinese character is = as >>>> wide as two latin letters, which catches some testing code = offguard. >>>>=20 >>>> Here are the test names that failed unexpectedly for me. All the >>>> "should"'s and "should-not"'s are in the attachment below. >>>>=20 >>>> --8<---------------cut here---------------start------------->8--- >>>> 8 unexpected results: >>>> FAILED test-org-clock/clock-drawer-dwim >>>> FAILED test-org-clock/clocktable/lang >>>> FAILED test-org-clok/org-clock-timestamps-change >>>> FAILED test-org-colview/columns-width >>>> FAILED test-org/add-planning-info >>>> FAILED test-org/clone-with-time-shift >>>> FAILED test-org/deadline >>>> FAILED test-org/schedule >>>> --8<---------------cut here---------------end--------------->8--- >>>>=20 >>>> [3. text/plain; lang.txt]... >>>=20 >>> Update: interestingly, there is one test error when setting >>> "LANG=3Den_US.UTF-8" or "LANG=3DC". >>>=20 >>> [2. text/plain; lang-en-us-utf8.txt]... >>>=20 >>>=20 >>> And, two somewhat different test errors when setting = "LANG=3Dfr_FR.UTF-8". >>>=20 >>> [4. text/plain; lang-fr-fr-utf8.txt]... >>=20 >> Axel, does this patch fix test-org-clock/clock-drawer-dwim on your >> system? >>=20 >> [2. text/x-patch; 0001-testing-lisp-test-org-clock.el.patch]... >=20 > Here is an updated patch (replacing the first iteration). This should > hopefully fix both test failures that Axel found. Once this is > confirmed good, I will look at the test failures of the other = languages > to see what I can do. >=20 > <0001-DRAFT-Fix-dependence-on-locale-in-org-testing-facili.patch> With this patch I get: FAILED test-org-clock/clock-drawer-dwim arrayp FAILED test-org-clok/org-clock-timestamps-change arrayp Axel