From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73205: 30.0.91; Failed test: uniquify-project-transform at lisp/uniquify-tests.el:130 Date: Fri, 13 Sep 2024 09:25:57 +0300 Message-ID: <86wmjgjci2.fsf@gnu.org> References: <87cyl8u5tf.fsf@moondust.awandering> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73205@debbugs.gnu.org To: "N. Jackson" , Spencer Baugh , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 13 08:27:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sozlw-0005Ca-SC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Sep 2024 08:27:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sozlf-0007An-1m; Fri, 13 Sep 2024 02:26:55 -0400 Original-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 1sozld-0007A5-MV for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 02:26:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sozld-0001Ox-D0 for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 02:26:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=KQ7DJfzTdK86KCEK6sev0uW3aC+pgdzCGkRlumENZmY=; b=GtwBsPQZDr2cJUpKNXwN5UM4CGFWxH5gY5a5HynPvQSkvbiZCgWJJ6qyWpiadm6X+7jaQzJHXCImDz6Cs/XW0/5Ic+VARu4YRCc3sMXOKhq8a3e3r8fO3rhgcNwAKWQiMOzueJc1+jV2yhFp0SUsdPnY8lJahRXl0Bfig+byIR1XvK/YzOWOwGZPULKlCqeu/kBVgz3o6nodvPlDPEKJ3Jqiivi39yELDIUAHNGIQDcT1nALGtCTRCVTgU790o16JM5VhDOk9Y3aUhNxJGkyc8hW3tp1EkaMv5j194lRgTQUmcLl8xK1IMw2Wg54xA8zD19NOurzqQWjBI7jVfkWeA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sozlm-0007Vi-2h for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2024 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73205 X-GNU-PR-Package: emacs Original-Received: via spool by 73205-submit@debbugs.gnu.org id=B73205.172620880028825 (code B ref 73205); Fri, 13 Sep 2024 06:27:02 +0000 Original-Received: (at 73205) by debbugs.gnu.org; 13 Sep 2024 06:26:40 +0000 Original-Received: from localhost ([127.0.0.1]:42276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozlQ-0007Ur-DM for submit@debbugs.gnu.org; Fri, 13 Sep 2024 02:26:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozlP-0007Ud-1l for 73205@debbugs.gnu.org; Fri, 13 Sep 2024 02:26:39 -0400 Original-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 ) id 1sozl9-0001K8-LS; Fri, 13 Sep 2024 02:26:23 -0400 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=KQ7DJfzTdK86KCEK6sev0uW3aC+pgdzCGkRlumENZmY=; b=CxDaQBVmnh/5I03mSmtv nIn1ZTZ3rLKgwxoIrG8XdlmG4rmM2aHhqZJu99W5vMQ4yDs0d3/rv4HnD0OLqWG6FEewxsxjVk+AV KLQ4QnWHhndHEB2u3KSOtj8OG/RoT5t9C41DxG9SIUyEWeRGvxdgxIv3etQ7IPCPk0coyMRFzMPbE v21TwSrNi2ZM4TBonMYMb5vXovQ5L47nOkuA+wNLBjObb2sbcvIvWdx6wq9W7gIa0gEH0+2I6U2pL UVuTMiAQ59H+Yv3xmZrxDQYr/hSnb57nXJ8KXJSF1wax3kZiOL72HSG7SeOvlAKm5LzPxmQAJCsVY 2fj6DTW4kNjcFw==; In-Reply-To: <87cyl8u5tf.fsf@moondust.awandering> (njackson@posteo.net) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291647 Archived-At: > From: "N. Jackson" > Date: Thu, 12 Sep 2024 17:42:36 +0000 > > > I'm not certain if this test failure is a bug in Emacs or a problem > with my build. It's a bug in the test and/or its expectations. > After building Emacs 30.0.91 from the tarball with > > $ ./configure > $ make -j > > and then running > > $ make test > > I get the following test results: > > SUMMARY OF TEST RESULTS > ----------------------- > Files examined: 519 > Ran 7898 tests, 7661 results as expected, 1 unexpected, 236 skipped > 1 files contained unexpected results: > lisp/uniquify-tests.log > > The details of the failed test are: > > ELC+ELN lisp/uniquify-tests.elc > GEN lisp/uniquify-tests.log > Running 7 tests (2024-09-12 12:30:54-0400, selector `(not (or (tag :expensive-test) (tag :unstable)))') > passed 1/7 uniquify-basic (0.049446 sec) > passed 2/7 uniquify-dirs (0.052217 sec) > Test uniquify-project-transform backtrace: > signal(ert-test-failed (((should (equal (mapcar #'buffer-name bufs) > ert-fail(((should (equal (mapcar #'buffer-name bufs) '("README #f(compiled-function () #)() > #f(compiled-function () #)() > handler-bind-1(#f(compiled-function () # ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > ert-run-test(#s(ert-test :name uniquify-project-transform :documenta > ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te > ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co > ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) > ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un > eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( > command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l > command-line() > normal-top-level() > Test uniquify-project-transform condition: > (ert-test-failed > ((should (equal (mapcar ... bufs) '("README" "README"))) > :form > (equal ("README" "README") > ("README" "README")) > :value nil :explanation > (list-elt 1 > (arrays-of-different-length 21 11 "README" > "README" > first-mismatch-at 7)))) > FAILED 3/7 uniquify-project-transform (0.042755 sec) at lisp/uniquify-tests.el:130 > passed 4/7 uniquify-rename-to-dir (0.000854 sec) > passed 5/7 uniquify-separator-ignored (0.007538 sec) > passed 6/7 uniquify-separator-style-reverse (0.007087 sec) > passed 7/7 uniquify-space-prefix (0.007681 sec) > > Ran 7 tests, 6 results as expected, 1 unexpected (2024-09-12 12:30:55-0400, 0.310196 sec) > > 1 unexpected results: > FAILED uniquify-project-transform Yes, confirmed. This test succeeds in the Git tree, but fails in the tree created by unpacking the pretest tarball. Spencer and Mattias, could you please fix the test so that it works in both cases? It seems to rely on some assumptions that are false in the source tree of a release tarball. Thanks.