Ulrich Müller <ulm@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 76462) by debbugs.gnu.org; 21 Feb 2025 11:49:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 06:49:22 2025 Received: from localhost ([127.0.0.1]:55543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlRX0-0004gK-2P for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:49:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53482) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tlRWx-0004fK-MU for 76462 <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:49:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tlRWs-0002UQ-A0; Fri, 21 Feb 2025 06:49:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4GLbe91V+eZOvumjBRS4WsC2cfc5DyIvoUD6bfCjVSc=; b=dbgQnbnqAPCQ8NkEHjsz JMIHyeQQ73b6iq6M7oIxD4eo6sF5XhOu/cnzu+GAScVc0xgGgl2qUszMCwyaEypyihzemIs0+V+dE l5M94RZa50hunkUNeroOV7Ryb3LGFfqktZ/oZ1nx3InVnCzQllm3uT2i1yc05cUKHB3h2kw5b8po3 Ko84/o6rlcHPur1wvCgubjJTa3YtF7IpbPztHcJR3U6xml2DMqX2s+bnwezr7zs0RX8kGaI6gn5+a N192V8F1Lfy/8k0QGxU7D0soMP2NQnZw5GlX2aSBuBNlUKO91BAkzrAc+1hqk0LrTDmUdw9TRrfmN t5m15wq/1xGU0Q==; Date: Fri, 21 Feb 2025 13:49:11 +0200 Message-Id: <86a5af1ps8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN> In-Reply-To: <uzfifis1j@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?= =?iso-8859-1?Q?=FCller?= on Fri, 21 Feb 2025 10:08:24 +0100) Subject: Re: bug#76462: 30.1; Test failure in image-type-from-file-name References: <u8qpzk9d4@HIDDEN> <86r03r1z9y.fsf@HIDDEN> <uzfifis1j@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76462 Cc: 76462 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ulrich Müller <ulm@HIDDEN> > Cc: Ulrich Müller <ulm@HIDDEN>, 76462 <at> debbugs.gnu.org > Date: Fri, 21 Feb 2025 10:08:24 +0100 > > >>>>> On Fri, 21 Feb 2025, Eli Zaretskii wrote: > > > I cannot reproduce this, FWIW. > > AFAICS this is triggered by either the --without-jpeg or --without-png > configure option. > > Attached patch fixes the problem for me. Thanks, please install on the emacs-30 branch.
bug-gnu-emacs@HIDDEN
:bug#76462
; Package emacs
.
Full text available.Received: (at 76462) by debbugs.gnu.org; 21 Feb 2025 09:08:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 04:08:41 2025 Received: from localhost ([127.0.0.1]:53036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlP1V-0002Yq-0s for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 04:08:41 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:58836 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlP1S-0002XZ-BR for 76462 <at> debbugs.gnu.org; Fri, 21 Feb 2025 04:08:38 -0500 Received: from urania (p5b25569d.dip0.t-ipconnect.de [91.37.86.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 79115342FB7; Fri, 21 Feb 2025 09:08:30 +0000 (UTC) From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#76462: 30.1; Test failure in image-type-from-file-name In-Reply-To: <86r03r1z9y.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 21 Feb 2025 10:24:09 +0200") References: <u8qpzk9d4@HIDDEN> <86r03r1z9y.fsf@HIDDEN> Date: Fri, 21 Feb 2025 10:08:24 +0100 Message-ID: <uzfifis1j@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76462 Cc: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>, 76462 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain >>>>> On Fri, 21 Feb 2025, Eli Zaretskii wrote: > I cannot reproduce this, FWIW. AFAICS this is triggered by either the --without-jpeg or --without-png configure option. Attached patch fixes the problem for me. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=0001-Skip-image-type-test-if-support-is-missing.patch From aba28057375113ea15710ac4a38a1be7dc37b9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN> Date: Fri, 21 Feb 2025 09:58:16 +0100 Subject: [PATCH] ; Skip image type test if support is missing * test/lisp/image-tests.el (image-type-from-file-name): Skip if image types are not available. (Bug#76462) --- test/lisp/image-tests.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lisp/image-tests.el b/test/lisp/image-tests.el index 69557c83657..03d20758052 100644 --- a/test/lisp/image-tests.el +++ b/test/lisp/image-tests.el @@ -88,6 +88,9 @@ image-supported-file-p/unsupported-returns-nil (should-not (image-supported-file-p "foo.some-unsupported-format"))) (ert-deftest image-type-from-file-name () + (skip-unless (and (image-type-available-p 'jpeg) + (image-type-available-p 'png) + (image-type-available-p 'webp))) (with-suppressed-warnings ((obsolete image-type-from-file-name)) (should (eq (image-type-from-file-name "foo.jpg") 'jpeg)) (should (eq (image-type-from-file-name "foo.png") 'png)) -- 2.48.1 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#76462
; Package emacs
.
Full text available.Received: (at 76462) by debbugs.gnu.org; 21 Feb 2025 08:24:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 03:24:27 2025 Received: from localhost ([127.0.0.1]:52333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlOKg-0001DZ-69 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:24:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53178) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tlOKb-0001Bx-TF for 76462 <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:24:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tlOKW-0007d5-C0; Fri, 21 Feb 2025 03:24:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Subject:In-Reply-To:To:From: Date; bh=2FOGsU4ARyl+6V5fFd/lROQlBw+0ihQW+954ZBYlb3I=; b=DDCvb6GHJTtiidqcvGQ+ lRT70jy49H1AO+yCULd6uoosGe3qpMT6zwmoMpsL8kdSrFUhaNZxe3mU/SuB23CBqJUSbSIh2rEmh QTdjJotESbfyDdvLsD4do6posd741i5/YLBLeTboMBoQ06Sa4mu2Sb3P3rqWobxFBQC42uytvkw/b x73+5fgn5kehTP5jFADtHivoLq0BTe6dbqLeWhXQ8CILggn1jj2PdWZXqQZPrqXIbaWc9lXaf+Wj9 +JGYgtB1S32fG0sDU9SLojMPwMH8QvhPNf5P1uBaTSaQjGCe5JDlpWj4siGhRsSZJLPyfVXjwRfyS 5na3xlSty220KQ==; Date: Fri, 21 Feb 2025 10:24:09 +0200 Message-Id: <86r03r1z9y.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN> In-Reply-To: <u8qpzk9d4@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?= =?iso-8859-1?Q?=FCller?= on Fri, 21 Feb 2025 09:08:55 +0100) Subject: Re: bug#76462: 30.1; Test failure in image-type-from-file-name References: <u8qpzk9d4@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76462 Cc: 76462 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ulrich M=A8=B9ller <ulm@HIDDEN> > Date: Fri, 21 Feb 2025 09:08:55 +0100 >=20 > In the 30.1-rc1 release candidate: >=20 > Running 20 tests (2025-02-21 09:01:22+0100, selector =A1=AE(not (or (tag = :expensive-test) (tag :unstable) (tag :nativecomp)))=A1=AF) > skipped 1/20 image--compute-map-and-original-map (0.000128 sec) > passed 2/20 image--set-property (0.000062 sec) > skipped 3/20 image-create-image-with-map (0.000067 sec) > passed 4/20 image-find-image (0.004656 sec) > Use +, -, r for further adjustments > Use +, -, r for further adjustments > Use +, -, r for further adjustments > Use +, -, r for further adjustments > Use +, -, r for further adjustments > Use +, -, r for further adjustments > Use +, -, r for further adjustments > passed 5/20 image-rotate (0.001020 sec) > skipped 6/20 image-supported-file-p/built-in (0.000077 sec) > passed 7/20 image-supported-file-p/optional (0.000045 sec) > passed 8/20 image-supported-file-p/unsupported-returns-nil (0.00005= 5 sec) > passed 9/20 image-transform-map (0.000099 sec) > passed 10/20 image-type-from-file-header-test/gif (0.000509 sec) > passed 11/20 image-type-from-file-header-test/jpeg (0.000384 sec) > passed 12/20 image-type-from-file-header-test/pbm (0.000365 sec) > passed 13/20 image-type-from-file-header-test/png (0.000392 sec) > passed 14/20 image-type-from-file-header-test/svg (0.000667 sec) > passed 15/20 image-type-from-file-header-test/tiff (0.000523 sec) > passed 16/20 image-type-from-file-header-test/webp (0.000356 sec) > passed 17/20 image-type-from-file-header-test/xbm (0.000344 sec) > passed 18/20 image-type-from-file-header-test/xpm (0.000301 sec) > Test image-type-from-file-name backtrace: > signal(ert-test-failed (((should (eq (image-type-from-file-name "foo.pn= g") 'png)) :form (eq imagemagick png) :value nil))) > ert-fail(((should (eq (image-type-from-file-name "foo.png") 'png)) :for= m (eq imagemagick png) :value nil)) > #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>)() > #f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>)() > handler-bind-1(#f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) = (error quit) #f(compiled-function (err) #<bytecode -0x15981b21f9896b41>)) > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :n= ame image-type-from-file-name :documentation nil :body #f(compiled-function= () #<bytecode -0x1f8a069b36a7f962>) :most-recent-result #s(ert-test-failed= :messages "" :should-forms ((... :form ... :value t) (... :form ... :value= nil)) :duration 9.7964e-05 :condition (ert-test-failed (... :form ... :val= ue nil)) :backtrace (#s(backtrace-frame :evald t :fun signal :args ... :fla= gs nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun e= rt-fail :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace= -frame :evald t :fun #f(compiled-function () #<bytecode -0x1f8a069b36a7f962= >) :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-fram= e :evald t :fun #f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) :ar= gs nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :eva= ld t :fun handler-bind-1 :args ... :flags nil :locals nil :buffer nil :pos = nil) #s(backtrace-frame :evald t :fun ert--run-test-internal :args #0 :flag= s nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun er= t-run-test :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtr= ace-frame :evald t :fun ert-run-or-rerun-test :args ... :flags nil :locals = ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests :a= rgs ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :ev= ald t :fun ert-run-tests-batch :args ... :flags nil :locals nil :buffer nil= :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch-and-exit :a= rgs ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :ev= ald t :fun eval :args ... :flags nil :locals nil :buffer nil :pos nil) #s(b= acktrace-frame :evald t :fun command-line-1 :args ... :flags nil :locals ..= . :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line :args= nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald= t :fun normal-top-level :args nil :flags nil :locals nil :buffer nil :pos = nil)) :infos nil) :expected-result-type :passed :tags nil :file-name "/tmp/= portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/image-tests.el= ") :result #s(ert-test-failed :messages "" :should-forms (((should ...) :fo= rm (eq jpeg jpeg) :value t) ((should ...) :form (eq imagemagick png) :value= nil)) :duration 9.7964e-05 :condition (ert-test-failed ((should ...) :form= (eq imagemagick png) :value nil)) :backtrace (#s(backtrace-frame :evald t = :fun signal :args (ert-test-failed ...) :flags nil :locals nil :buffer nil = :pos nil) #s(backtrace-frame :evald t :fun ert-fail :args (...) :flags nil = :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compi= led-function () #<bytecode -0x1f8a069b36a7f962>) :args nil :flags nil :loca= ls nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-f= unction () #<bytecode -0xb605d7d75e2ab7c>) :args nil :flags nil :locals nil= :buffer nil :pos nil) #s(backtrace-frame :evald t :fun handler-bind-1 :arg= s (#f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) ... #f(compiled-= function (err) #<bytecode -0x15981b21f9896b41>)) :flags nil :locals nil :bu= ffer nil :pos nil) #s(backtrace-frame :evald t :fun ert--run-test-internal = :args #0 :flags nil :locals (... ...) :buffer nil :pos nil) #s(backtrace-fr= ame :evald t :fun ert-run-test :args (...) :flags nil :locals (... ... ...)= :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun-te= st :args (... ... #f(compiled-function (event-type &rest event-args) #<byte= code -0x1c8e915c69123548>)) :flags nil :locals (...) :buffer nil :pos nil) = #s(backtrace-frame :evald t :fun ert-run-tests :args (... #f(compiled-funct= ion (event-type &rest event-args) #<bytecode -0x1c8e915c69123548>) nil) :fl= ags nil :locals (...) :buffer nil :pos nil) #s(backtrace-frame :evald t :fu= n ert-run-tests-batch :args (...) :flags nil :locals nil :buffer nil :pos n= il) #s(backtrace-frame :evald t :fun ert-run-tests-batch-and-exit :args (..= .) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t= :fun eval :args (... t) :flags nil :locals nil :buffer nil :pos nil) #s(ba= cktrace-frame :evald t :fun command-line-1 :args (...) :flags nil :locals (= ... ...) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-lin= e :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame= :evald t :fun normal-top-level :args nil :flags nil :locals nil :buffer ni= l :pos nil)) :infos nil) :exit-continuation #f(compiled-function () #<bytec= ode 0x8d05c561024bc3>) :ert-debug-on-error nil)) > ert-run-test(#s(ert-test :name image-type-from-file-name :documentation= nil :body #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>) :most-r= ecent-result #s(ert-test-failed :messages "" :should-forms (((should (eq (i= mage-type-from-file-name "foo.jpg") 'jpeg)) :form (eq jpeg jpeg) :value t) = ((should (eq (image-type-from-file-name "foo.png") 'png)) :form (eq imagema= gick png) :value nil)) :duration 9.7964e-05 :condition (ert-test-failed ((s= hould (eq (image-type-from-file-name "foo.png") 'png)) :form (eq imagemagic= k png) :value nil)) :backtrace (#s(backtrace-frame :evald t :fun signal :ar= gs (ert-test-failed ((... :form ... :value nil))) :flags nil :locals nil :b= uffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-fail :args (((shou= ld ...) :form (eq imagemagick png) :value nil)) :flags nil :locals nil :buf= fer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () = #<bytecode -0x1f8a069b36a7f962>) :args nil :flags nil :locals nil :buffer n= il :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #<byt= ecode -0xb605d7d75e2ab7c>) :args nil :flags nil :locals nil :buffer nil :po= s nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args (#f(compiled-f= unction () #<bytecode -0xb605d7d75e2ab7c>) (error quit) #f(compiled-functio= n (err) #<bytecode -0x15981b21f9896b41>)) :flags nil :locals nil :buffer ni= l :pos nil) #s(backtrace-frame :evald t :fun ert--run-test-internal :args (= #s(ert--test-execution-info :test #1 :result #2 :exit-continuation #f(compi= led-function () #<bytecode 0x8d05c561024bc3>) :ert-debug-on-error nil)) :fl= ags nil :locals ((ert--infos) (lexical-binding . t)) :buffer nil :pos nil) = #s(backtrace-frame :evald t :fun ert-run-test :args #0 :flags nil :locals (= (ert--running-tests #1) (message-log-max . t) (ert--should-execution-observ= er . #f(compiled-function (form-description) #<bytecode -0x1ddeb65f144f4091= >))) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-reru= n-test :args (#s(ert--stats :selector (not ...) :tests [... ... ... ... ...= ... ... ... ... ... ... ... ... ... ... ... ... ... #1 ...] :test-map #<ha= sh-table eql 20/20 0x10e5a8564d92 ...> :test-results [... ... ... ... ... .= .. ... ... ... ... ... ... ... ... ... ... ... ... #2 nil] :test-start-time= s [... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... = ... nil] :test-end-times [... ... ... ... ... ... ... ... ... ... ... ... .= .. ... ... ... ... ... ... nil] :passed-expected 15 :passed-unexpected 0 :f= ailed-expected 0 :failed-unexpected 1 :skipped 3 :start-time (26552 13010 6= 000 81000) :end-time nil :aborted-p nil :current-test #1 :next-redisplay 0.= 0) #1 #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c8e= 915c69123548>)) :flags nil :locals ((ert--current-run-stats . #s(ert--stats= :selector ... :tests ... :test-map #<hash-table eql 20/20 0x10e5a8564d92 .= ..> :test-results ... :test-start-times ... :test-end-times ... :passed-exp= ected 15 :passed-unexpected 0 :failed-expected 0 :failed-unexpected 1 :skip= ped 3 :start-time ... :end-time nil :aborted-p nil :current-test #1 :next-r= edisplay 0.0))) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-= run-tests :args ((not (or ... ... ...)) #f(compiled-function (event-type &r= est event-args) #<bytecode -0x1c8e915c69123548>) nil) :flags nil :locals ((= ert--current-run-stats . #s(ert--stats :selector ... :tests ... :test-map #= <hash-table eql 20/20 0x10e5a8564d92 ...> :test-results ... :test-start-tim= es ... :test-end-times ... :passed-expected 15 :passed-unexpected 0 :failed= -expected 0 :failed-unexpected 1 :skipped 3 :start-time ... :end-time nil := aborted-p nil :current-test #1 :next-redisplay 0.0))) :buffer nil :pos nil)= #s(backtrace-frame :evald t :fun ert-run-tests-batch :args ((not (or ... .= .. ...))) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame := evald t :fun ert-run-tests-batch-and-exit :args ((not (or ... ... ...))) :f= lags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun= eval :args ((ert-run-tests-batch-and-exit '...) t) :flags nil :locals nil = :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line-1 :args= (("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load-path '(\"/tmp/po= rtage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sitter\"))" "--eval"= "(setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/image-tests" "--e= val" "(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (= tag :unstable) (tag :nativecomp)))))")) :flags nil :locals ((command-line-a= rgs-left) (argi . "-eval")) :buffer nil :pos nil) #s(backtrace-frame :evald= t :fun command-line :args nil :flags nil :locals nil :buffer nil :pos nil)= #s(backtrace-frame :evald t :fun normal-top-level :args nil :flags nil :lo= cals nil :buffer nil :pos nil)) :infos nil) :expected-result-type :passed := tags nil :file-name "/tmp/portage/app-editors/emacs-30.1_rc1/work/emacs-30.= 1/test/lisp/image-tests.el")) > ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map = #<hash-table eql 20/20 0x10e5a8564d92 ...> :test-results ... :test-start-ti= mes ... :test-end-times ... :passed-expected 15 :passed-unexpected 0 :faile= d-expected 0 :failed-unexpected 1 :skipped 3 :start-time ... :end-time nil = :aborted-p nil ...) #s(ert-test :name image-type-from-file-name :documentat= ion nil :body #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>) :mos= t-recent-result ... :expected-result-type :passed :tags nil :file-name "/tm= p/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/image-tests.= el") #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c8e9= 15c69123548>)) > ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :nati= vecomp))) #f(compiled-function (event-type &rest event-args) #<bytecode -0x= 1c8e915c69123548>) nil) > ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (tag= :nativecomp)))) > ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :unsta= ble) (tag :nativecomp)))) > eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (tag= :unstable) (tag :nativecomp)))) t) > command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load= -path '(\"/tmp/portage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sit= ter\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/= image-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (tag := expensive-test) (tag :unstable) (tag :nativecomp)))))")) > command-line() > normal-top-level() >=20 > Test image-type-from-file-name condition: > (ert-test-failed > ((should (eq (image-type-from-file-name "foo.png") 'png)) :form > (eq imagemagick png) :value nil)) > FAILED 19/20 image-type-from-file-name (0.000098 sec) at lisp/image-= tests.el:90 > passed 20/20 image-type/from-filename (0.004731 sec) >=20 > Ran 20 tests, 16 results as expected, 1 unexpected, 3 skipped (2025-02-21= 09:01:22+0100, 0.137995 sec) >=20 > 1 unexpected results: > FAILED image-type-from-file-name ((should (eq (image-type-from-file-= name "foo.png") 'png)) :form (eq imagemagick png) :value nil) >=20 > 3 skipped results: > SKIPPED image--compute-map-and-original-map ((skip-unless (display-im= ages-p)) :form (display-images-p) :value nil) > SKIPPED image-create-image-with-map ((skip-unless (display-images-p))= :form (display-images-p) :value nil) > SKIPPED image-supported-file-p/built-in ((skip-unless (display-images= -p)) :form (display-images-p) :value nil) I cannot reproduce this, FWIW.
bug-gnu-emacs@HIDDEN
:bug#76462
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 08:09:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 03:09:27 2025 Received: from localhost ([127.0.0.1]:52088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlO67-0007MS-1U for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:09:27 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43126) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlO62-0007LA-Ns for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:09:22 -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 <ulm@HIDDEN>) id 1tlO5v-0007eV-RE for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 03:09:12 -0500 Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tlO5q-0005ot-VO for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 03:09:11 -0500 Received: from urania (p5b25569d.dip0.t-ipconnect.de [91.37.86.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id DC89534309A; Fri, 21 Feb 2025 08:09:00 +0000 (UTC) From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.1; Test failure in image-type-from-file-name Date: Fri, 21 Feb 2025 09:08:55 +0100 Message-ID: <u8qpzk9d4@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) In the 30.1-rc1 release candidate: Running 20 tests (2025-02-21 09:01:22+0100, selector =E2=80=98(not (or (tag= :expensive-test) (tag :unstable) (tag :nativecomp)))=E2=80=99) skipped 1/20 image--compute-map-and-original-map (0.000128 sec) passed 2/20 image--set-property (0.000062 sec) skipped 3/20 image-create-image-with-map (0.000067 sec) passed 4/20 image-find-image (0.004656 sec) Use +, -, r for further adjustments Use +, -, r for further adjustments Use +, -, r for further adjustments Use +, -, r for further adjustments Use +, -, r for further adjustments Use +, -, r for further adjustments Use +, -, r for further adjustments passed 5/20 image-rotate (0.001020 sec) skipped 6/20 image-supported-file-p/built-in (0.000077 sec) passed 7/20 image-supported-file-p/optional (0.000045 sec) passed 8/20 image-supported-file-p/unsupported-returns-nil (0.000055 = sec) passed 9/20 image-transform-map (0.000099 sec) passed 10/20 image-type-from-file-header-test/gif (0.000509 sec) passed 11/20 image-type-from-file-header-test/jpeg (0.000384 sec) passed 12/20 image-type-from-file-header-test/pbm (0.000365 sec) passed 13/20 image-type-from-file-header-test/png (0.000392 sec) passed 14/20 image-type-from-file-header-test/svg (0.000667 sec) passed 15/20 image-type-from-file-header-test/tiff (0.000523 sec) passed 16/20 image-type-from-file-header-test/webp (0.000356 sec) passed 17/20 image-type-from-file-header-test/xbm (0.000344 sec) passed 18/20 image-type-from-file-header-test/xpm (0.000301 sec) Test image-type-from-file-name backtrace: signal(ert-test-failed (((should (eq (image-type-from-file-name "foo.png"= ) 'png)) :form (eq imagemagick png) :value nil))) ert-fail(((should (eq (image-type-from-file-name "foo.png") 'png)) :form = (eq imagemagick png) :value nil)) #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>)() #f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>)() handler-bind-1(#f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) (e= rror quit) #f(compiled-function (err) #<bytecode -0x15981b21f9896b41>)) ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :nam= e image-type-from-file-name :documentation nil :body #f(compiled-function (= ) #<bytecode -0x1f8a069b36a7f962>) :most-recent-result #s(ert-test-failed := messages "" :should-forms ((... :form ... :value t) (... :form ... :value n= il)) :duration 9.7964e-05 :condition (ert-test-failed (... :form ... :value= nil)) :backtrace (#s(backtrace-frame :evald t :fun signal :args ... :flags= nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert= -fail :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-f= rame :evald t :fun #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>)= :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame = :evald t :fun #f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) :args= nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald= t :fun handler-bind-1 :args ... :flags nil :locals nil :buffer nil :pos ni= l) #s(backtrace-frame :evald t :fun ert--run-test-internal :args #0 :flags = nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-= run-test :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrac= e-frame :evald t :fun ert-run-or-rerun-test :args ... :flags nil :locals ..= . :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests :arg= s ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :eval= d t :fun ert-run-tests-batch :args ... :flags nil :locals nil :buffer nil := pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch-and-exit :arg= s ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :eval= d t :fun eval :args ... :flags nil :locals nil :buffer nil :pos nil) #s(bac= ktrace-frame :evald t :fun command-line-1 :args ... :flags nil :locals ... = :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line :args n= il :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t= :fun normal-top-level :args nil :flags nil :locals nil :buffer nil :pos ni= l)) :infos nil) :expected-result-type :passed :tags nil :file-name "/tmp/po= rtage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/image-tests.el")= :result #s(ert-test-failed :messages "" :should-forms (((should ...) :form= (eq jpeg jpeg) :value t) ((should ...) :form (eq imagemagick png) :value n= il)) :duration 9.7964e-05 :condition (ert-test-failed ((should ...) :form (= eq imagemagick png) :value nil)) :backtrace (#s(backtrace-frame :evald t :f= un signal :args (ert-test-failed ...) :flags nil :locals nil :buffer nil :p= os nil) #s(backtrace-frame :evald t :fun ert-fail :args (...) :flags nil :l= ocals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compile= d-function () #<bytecode -0x1f8a069b36a7f962>) :args nil :flags nil :locals= nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-fun= ction () #<bytecode -0xb605d7d75e2ab7c>) :args nil :flags nil :locals nil := buffer nil :pos nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args = (#f(compiled-function () #<bytecode -0xb605d7d75e2ab7c>) ... #f(compiled-fu= nction (err) #<bytecode -0x15981b21f9896b41>)) :flags nil :locals nil :buff= er nil :pos nil) #s(backtrace-frame :evald t :fun ert--run-test-internal :a= rgs #0 :flags nil :locals (... ...) :buffer nil :pos nil) #s(backtrace-fram= e :evald t :fun ert-run-test :args (...) :flags nil :locals (... ... ...) := buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun-test= :args (... ... #f(compiled-function (event-type &rest event-args) #<byteco= de -0x1c8e915c69123548>)) :flags nil :locals (...) :buffer nil :pos nil) #s= (backtrace-frame :evald t :fun ert-run-tests :args (... #f(compiled-functio= n (event-type &rest event-args) #<bytecode -0x1c8e915c69123548>) nil) :flag= s nil :locals (...) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun = ert-run-tests-batch :args (...) :flags nil :locals nil :buffer nil :pos nil= ) #s(backtrace-frame :evald t :fun ert-run-tests-batch-and-exit :args (...)= :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t := fun eval :args (... t) :flags nil :locals nil :buffer nil :pos nil) #s(back= trace-frame :evald t :fun command-line-1 :args (...) :flags nil :locals (..= . ...) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line = :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame := evald t :fun normal-top-level :args nil :flags nil :locals nil :buffer nil = :pos nil)) :infos nil) :exit-continuation #f(compiled-function () #<bytecod= e 0x8d05c561024bc3>) :ert-debug-on-error nil)) ert-run-test(#s(ert-test :name image-type-from-file-name :documentation n= il :body #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>) :most-rec= ent-result #s(ert-test-failed :messages "" :should-forms (((should (eq (ima= ge-type-from-file-name "foo.jpg") 'jpeg)) :form (eq jpeg jpeg) :value t) ((= should (eq (image-type-from-file-name "foo.png") 'png)) :form (eq imagemagi= ck png) :value nil)) :duration 9.7964e-05 :condition (ert-test-failed ((sho= uld (eq (image-type-from-file-name "foo.png") 'png)) :form (eq imagemagick = png) :value nil)) :backtrace (#s(backtrace-frame :evald t :fun signal :args= (ert-test-failed ((... :form ... :value nil))) :flags nil :locals nil :buf= fer nil :pos nil) #s(backtrace-frame :evald t :fun ert-fail :args (((should= ...) :form (eq imagemagick png) :value nil)) :flags nil :locals nil :buffe= r nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #<= bytecode -0x1f8a069b36a7f962>) :args nil :flags nil :locals nil :buffer nil= :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #<bytec= ode -0xb605d7d75e2ab7c>) :args nil :flags nil :locals nil :buffer nil :pos = nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args (#f(compiled-fun= ction () #<bytecode -0xb605d7d75e2ab7c>) (error quit) #f(compiled-function = (err) #<bytecode -0x15981b21f9896b41>)) :flags nil :locals nil :buffer nil = :pos nil) #s(backtrace-frame :evald t :fun ert--run-test-internal :args (#s= (ert--test-execution-info :test #1 :result #2 :exit-continuation #f(compile= d-function () #<bytecode 0x8d05c561024bc3>) :ert-debug-on-error nil)) :flag= s nil :locals ((ert--infos) (lexical-binding . t)) :buffer nil :pos nil) #s= (backtrace-frame :evald t :fun ert-run-test :args #0 :flags nil :locals ((e= rt--running-tests #1) (message-log-max . t) (ert--should-execution-observer= . #f(compiled-function (form-description) #<bytecode -0x1ddeb65f144f4091>)= )) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun-= test :args (#s(ert--stats :selector (not ...) :tests [... ... ... ... ... .= .. ... ... ... ... ... ... ... ... ... ... ... ... #1 ...] :test-map #<hash= -table eql 20/20 0x10e5a8564d92 ...> :test-results [... ... ... ... ... ...= ... ... ... ... ... ... ... ... ... ... ... ... #2 nil] :test-start-times = [... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..= . nil] :test-end-times [... ... ... ... ... ... ... ... ... ... ... ... ...= ... ... ... ... ... ... nil] :passed-expected 15 :passed-unexpected 0 :fai= led-expected 0 :failed-unexpected 1 :skipped 3 :start-time (26552 13010 600= 0 81000) :end-time nil :aborted-p nil :current-test #1 :next-redisplay 0.0)= #1 #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c8e91= 5c69123548>)) :flags nil :locals ((ert--current-run-stats . #s(ert--stats := selector ... :tests ... :test-map #<hash-table eql 20/20 0x10e5a8564d92 ...= > :test-results ... :test-start-times ... :test-end-times ... :passed-expec= ted 15 :passed-unexpected 0 :failed-expected 0 :failed-unexpected 1 :skippe= d 3 :start-time ... :end-time nil :aborted-p nil :current-test #1 :next-red= isplay 0.0))) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-ru= n-tests :args ((not (or ... ... ...)) #f(compiled-function (event-type &res= t event-args) #<bytecode -0x1c8e915c69123548>) nil) :flags nil :locals ((er= t--current-run-stats . #s(ert--stats :selector ... :tests ... :test-map #<h= ash-table eql 20/20 0x10e5a8564d92 ...> :test-results ... :test-start-times= ... :test-end-times ... :passed-expected 15 :passed-unexpected 0 :failed-e= xpected 0 :failed-unexpected 1 :skipped 3 :start-time ... :end-time nil :ab= orted-p nil :current-test #1 :next-redisplay 0.0))) :buffer nil :pos nil) #= s(backtrace-frame :evald t :fun ert-run-tests-batch :args ((not (or ... ...= ...))) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :ev= ald t :fun ert-run-tests-batch-and-exit :args ((not (or ... ... ...))) :fla= gs nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun e= val :args ((ert-run-tests-batch-and-exit '...) t) :flags nil :locals nil :b= uffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line-1 :args (= ("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load-path '(\"/tmp/port= age/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sitter\"))" "--eval" "= (setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/image-tests" "--eva= l" "(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (ta= g :unstable) (tag :nativecomp)))))")) :flags nil :locals ((command-line-arg= s-left) (argi . "-eval")) :buffer nil :pos nil) #s(backtrace-frame :evald t= :fun command-line :args nil :flags nil :locals nil :buffer nil :pos nil) #= s(backtrace-frame :evald t :fun normal-top-level :args nil :flags nil :loca= ls nil :buffer nil :pos nil)) :infos nil) :expected-result-type :passed :ta= gs nil :file-name "/tmp/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/= test/lisp/image-tests.el")) ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map #<= hash-table eql 20/20 0x10e5a8564d92 ...> :test-results ... :test-start-time= s ... :test-end-times ... :passed-expected 15 :passed-unexpected 0 :failed-= expected 0 :failed-unexpected 1 :skipped 3 :start-time ... :end-time nil :a= borted-p nil ...) #s(ert-test :name image-type-from-file-name :documentatio= n nil :body #f(compiled-function () #<bytecode -0x1f8a069b36a7f962>) :most-= recent-result ... :expected-result-type :passed :tags nil :file-name "/tmp/= portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/image-tests.el= ") #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c8e915= c69123548>)) ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :native= comp))) #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c= 8e915c69123548>) nil) ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (tag := nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :unstabl= e) (tag :nativecomp)))) eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (tag := unstable) (tag :nativecomp)))) t) command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load-p= ath '(\"/tmp/portage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sitte= r\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/im= age-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (tag :ex= pensive-test) (tag :unstable) (tag :nativecomp)))))")) command-line() normal-top-level() Test image-type-from-file-name condition: (ert-test-failed ((should (eq (image-type-from-file-name "foo.png") 'png)) :form (eq imagemagick png) :value nil)) FAILED 19/20 image-type-from-file-name (0.000098 sec) at lisp/image-te= sts.el:90 passed 20/20 image-type/from-filename (0.004731 sec) Ran 20 tests, 16 results as expected, 1 unexpected, 3 skipped (2025-02-21 0= 9:01:22+0100, 0.137995 sec) 1 unexpected results: FAILED image-type-from-file-name ((should (eq (image-type-from-file-na= me "foo.png") 'png)) :form (eq imagemagick png) :value nil) 3 skipped results: SKIPPED image--compute-map-and-original-map ((skip-unless (display-imag= es-p)) :form (display-images-p) :value nil) SKIPPED image-create-image-with-map ((skip-unless (display-images-p)) := form (display-images-p) :value nil) SKIPPED image-supported-file-p/built-in ((skip-unless (display-images-p= )) :form (display-images-p) :value nil) In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit) of 2025-02-21 built on urania Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: Gentoo Linux Configured using: 'configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc --localstatedir=3D/var/lib --datarootdir=3D/usr/share --disable-silent-rules --docdir=3D/usr/share/doc/emacs-30.1_rc1 --htmldir=3D/usr/share/doc/emacs-30.1_rc1/html --libdir=3D/usr/lib64 --program-suffix=3D-emacs-30 --includedir=3D/usr/include/emacs-30 --infodir=3D/usr/share/info/emacs-30 --localstatedir=3D/var --enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=3Dinotify --with-pdumper --enable-acl --disable-xattr --with-dbus --with-modules --with-gameuser=3D:gamestat --with-libgmp --with-gpm --without-native-compilation --without-kerberos --without-kerberos5 --with-lcms2 --with-xml2 --without-mailutils --without-selinux --without-sqlite3 --without-gnutls --without-libsystemd --without-threads --without-tree-sitter --without-wide-int --with-sound=3Dalsa --without-zlib --with-x --without-pgtk --without-ns --without-gconf --with-gsettings --without-toolkit-scroll-bars --without-xpm --without-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=3Dlucid --without-xaw3d --with-gif --with-jpeg --without-png --without-rsvg --without-tiff --without-webp --with-imagemagick --with-dumping=3Dpdumper 'CFLAGS=3D-march=3Dnative -ggdb -O2 -pipe -fno-fast-math -ffp-contract=3Doff' CPPFLAGS=3D 'LDFLAGS=3D-Wl,-= O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs'' Configured features: ACL DBUS GIF GLIB GMP GPM GSETTINGS IMAGEMAGICK JPEG LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP SOUND X11 XDBE XIM XINPUT2 LUCID Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: POSIX locale-coding-system: utf-8-unix
Ulrich Müller <ulm@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#76462
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.