From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UKrcHoAffGepJAAA62LTzQ:P1 (envelope-from ) for ; Mon, 06 Jan 2025 18:22:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UKrcHoAffGepJAAA62LTzQ (envelope-from ) for ; Mon, 06 Jan 2025 19:22:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=E0XFAWJl; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736187776; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=YzYSE+pigJoIF8Iulm0XRNZULnSSdHk1L5UA/nE0eKY=; b=ei8ZZmxzzmsj42TxYOlNFPVRrliyMOHCMPtnlcs3OyhR9nCYa/Ljh11EsoaQw89b56B75/ 8p5YzHQMSJkIoHRCSh7ErRQCSrSn4NShL7/PMsX05DBu+xdZjJQ1GWGQeHvLDJEqSr1yga Y77jLjUih/YZvEoypU9tRttH7k2cyjJ4wNfkj/1g/lOEQeyYCbp0iF88JeSJeyqnkcEz2s /3LoiqjHUZ4XFbtEXRZlfLcAokJ93vtCA+XYgrcJlbwRDpGN82HTVoso5DIIvfhIeJKAcu Tw/fEZ8Ya+qxR6EHRgyQ8KoR7/rA0Ew5SLlqBgnMGs5LdTCaOXdWO4IhEXHVNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=E0XFAWJl; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736187776; a=rsa-sha256; cv=none; b=iLgJqcEHJ5OTHnXmfFIggZiavKDWyraalgtM+MT2pI+5lIHNNDCvquOxyNN3quBrNRnEUA XLVrSf9ezO+KCz/yyrC3pC/58YPGRbZBaHjxtGdtzwhrnP1PbmvHw2rxyGafDfQTM2T4Ij BeTAaxAIyOZwDYStF99es1Hv2LlE2r+swssoP2G3pT7feHGV3Bq7Ijxks8YE7TyQ1LJ/sd cXktCTDNgkx47aRzTjP/wtfz+3puwiLBRRBYv6Cowgf+tsk3GLj53gZ5VLTN6wj/kib9XU Cpormj8w1jUm9WOsge2ITrraDIbOQACO1gXfv8lvIP/z/7LS+yCJXoravGHvQA== 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 2475F20AB4 for ; Mon, 06 Jan 2025 19:22:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUrkL-00024x-MV; Mon, 06 Jan 2025 13:22:37 -0500 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 1tUrkJ-00024n-CN for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 13:22:35 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUrkH-0001lb-CV for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 13:22:35 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5d3e8f64d5dso26475831a12.3 for ; Mon, 06 Jan 2025 10:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736187751; x=1736792551; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YzYSE+pigJoIF8Iulm0XRNZULnSSdHk1L5UA/nE0eKY=; b=E0XFAWJlyykBkDsLgP8Bic5WVJYM+/X2TWrHkydCNtM/tVP2UMnGLm4XFqIhubPV6j Sp3Ah5U4b5HqhJxshlxBXYwOjhygRN6zpaMiTJHt0JhvEZ029FezZXCDRbhAKTpnjVd1 jDh4zu+hLGAMvKeTs0s7UMDc1V37Fkr0Lk3JT2bziY7NOWdNDL/pyRT4hK7g8oHyMzI9 u9yA+RhT/X1iIQtNwSLiPdUlAj+WJPfcbUqWx/XaJs274zzg2JqNpjaG3MT1vldDLLFN 9iON4NQqdFn5eESYlyQrJe2u+faWNVcXxXtxEtF7sWLT/T+GitP219C5fwYmGThpP7kq ecNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736187751; x=1736792551; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YzYSE+pigJoIF8Iulm0XRNZULnSSdHk1L5UA/nE0eKY=; b=G90IsuFneu4wLQtUqF0/tJUgzVoD7IVu1IH2iUbvMlMYvTwbthbQL4THK3NRsSEL+p ZfOETonD7A40qqXOoNQTL4SEb2UiFD7tvyv7oPsN3G/Jr9yL10pU0k15m5+dBykSKPBZ ZWTBFVrrLeQMJzqE5dVGzhJ0DLjeGxu1GR0Kc5aFLRe28bJQPM7gPVc43+uT13jirLHS WfxcnagTuYGTAaU0cw5pHnGmX0fDYScot6uoAhfmnGYOv9d2DAPDRxaG4ytDcsb7QEUZ ENiLhW4l67J/XZpzLwuXEPMnHlUp+hT67KiOfPy0zz0aqmyede8D9mxVYCp5IB8mr2qm 2/vg== X-Forwarded-Encrypted: i=1; AJvYcCWaVxG7+x4eKajUuezDiVuStO8S6ejshRJ4hfuOr1deo20AI8M8RwiNuNC7455+FI3EcN5jyXhHWSWOOdGA@gnu.org X-Gm-Message-State: AOJu0YwM/DI90108wRVKNIMJu+WN/5WWoiDvkkaD1wj0GopUOvhJe1nj 4nODD8D3GuMkY6VOszLvpzKlITZLcupW0wEXe+75rXuQGtTq9fUJDMbgA0nnzeTCc1s7pdBARjM aIBieaFTVKa9DmLHerbG2HZ4h1kJIcsVj X-Gm-Gg: ASbGnctKGLVOB3w0D1SrPgIBoG4lyN1YM9w9/MWwD+C30+OZMdcHWrFYg7BUj3ZHxDg XwopRJ6JS3bI9e9TMcvL+sqab/N5nQt7cMMX5o1nyxbjN8eALn5fa2Mec3T0ahOLVK748eQ== X-Google-Smtp-Source: AGHT+IFcmIkCR1K+i9ktNl3iSBjYy7xFiPU5pupdlKJHY5c+XfxYEcElOzzNtcF/nQk7njJGvEvA1eoUN5xTwh9LBo8= X-Received: by 2002:a05:6402:4402:b0:5d2:60d9:a2a0 with SMTP id 4fb4d7f45d1cf-5d81de5d896mr57233005a12.33.1736187750611; Mon, 06 Jan 2025 10:22:30 -0800 (PST) MIME-Version: 1.0 References: <87ilkulwdy.fsf@localhost> <87y1tpejfm.fsf@localhost> <87wn7wdfis.fsf@localhost> <87pmdil0m0.fsf@localhost> <87k03pj8vw.fsf@localhost> <87leo3dc42.fsf@localhost> In-Reply-To: <87leo3dc42.fsf@localhost> From: Michael Brand Date: Mon, 6 Jan 2025 19:22:19 +0100 Message-ID: Subject: Re: test-org-table/sort-lines: Failing test on macOS To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=michael.ch.brand@gmail.com; helo=mail-ed1-x52d.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.55 X-Spam-Score: -2.55 X-Migadu-Queue-Id: 2475F20AB4 X-TUID: dkhQb515QNIS Hi all On Tue, Nov 22, 2022 at 2:14=E2=80=AFAM Ihor Radchenko wrote: > > Max Nikulin writes: > > >>> Concerning the test, I would split the current testcase into 2 parts > >>> depending on WITH-CASE argument, check if caseless collation is > >>> available and skip the related test otherwise. > >> > >> How can we check the availability? > > > > (string-collate-lessp "a" "B" "C" t) > > Thanks! For this specific subject I can not see a follow up in this thread, or an implementation on the branches bugfix or main. And the complaint of the OP about the failing test is still valid on bugfix (on main ~make test~ aborted before with "void-variable (file)" on "(delete-file file)" quite early when loading testing/lisp/test-ob-tangle.el). As far as I understand and agree, some Org functionality wants to stick with ~string-collate-lessp~. Is it welcome if I finish working on my local patch that plans to use #+begin_src emacs-lisp (defun org-test-string-collate-lessp-ignore-case-supported-p (&optional locale) "Whether `string-collate-lessp' supports ignore case for LOCALE. According to the docstring of `string-collate-lessp' it does not implement ignore case for some locale on some operating systems (actually depending on libc of Emacs). E. g. on macOS `string-collate-lessp' does not ignore case for the locale C. See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59275 and https://list.orgmode.org/orgmode/m2ilkwso8r.fsf@me.com" (let ((ignore-case t)) (string-collate-lessp "a" "B" locale ignore-case))) #+end_src not to skip the test as suggested in the quote at the beginning of this message but to bifurcate the expected result of the ERT to fix the test for e. g. macOS on bugfix?