From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#40189: emacs-ts fails its test suite Date: Sun, 22 Mar 2020 21:17:00 -0400 Message-ID: <87r1xj50qb.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43877) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGBj9-0003IF-Ri for bug-guix@gnu.org; Sun, 22 Mar 2020 21:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGBj8-0007wa-Oz for bug-guix@gnu.org; Sun, 22 Mar 2020 21:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGBj8-0007wT-KL for bug-guix@gnu.org; Sun, 22 Mar 2020 21:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGBj8-000766-F0 for bug-guix@gnu.org; Sun, 22 Mar 2020 21:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGBiF-0003Gi-UG for bug-guix@gnu.org; Sun, 22 Mar 2020 21:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGBiE-0007TF-Cx for bug-guix@gnu.org; Sun, 22 Mar 2020 21:17:07 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:38572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGBiE-0007Ss-6p for bug-guix@gnu.org; Sun, 22 Mar 2020 21:17:06 -0400 Received: by mail-qk1-x730.google.com with SMTP id h14so13727066qke.5 for ; Sun, 22 Mar 2020 18:17:04 -0700 (PDT) Received: from apteryx (dsl-158-130.b2b2c.ca. [66.158.158.130]) by smtp.gmail.com with ESMTPSA id r4sm9822953qkm.98.2020.03.22.18.17.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 18:17:03 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 40189@debbugs.gnu.org On master, emacs-ts fails one of its tests: --8<---------------cut here---------------start------------->8--- passed 28/35 ts-unix Test ts-update backtrace: signal(ert-test-failed (((should (or (equal 31536000 (floor (ts-diff ert-fail(((should (or (equal 31536000 (floor (ts-difference ts one-y (if (unwind-protect (setq value-1854 (or (equal 31536000 (floor (ts- (let (form-description-1855) (if (unwind-protect (setq value-1854 (o (let ((value-1854 (gensym "ert-form-evaluation-aborted-"))) (let (fo (let* ((ts (ts-now)) (one-year-ago ts)) (setq one-year-ago (ts-fill (closure (t) nil (let* ((ts (ts-now)) (one-year-ago ts)) (setq one-y ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name ts-update :documentation nil :body (c ert-run-or-rerun-test(#s(ert--stats :selector t :tests [#s(ert-test ert-run-tests(t #f(compiled-function (event-type &rest event-args) # ert-run-tests-batch(nil) ert-run-tests-batch-and-exit() command-line-1(("-l" "test/test.el" "-f" "ert-run-tests-batch-and-ex command-line() normal-top-level() Test ts-update condition: (ert-test-failed ((should (or (equal 31536000 ...) (equal 31622399 ...))) :form (or (equal 31536000 (floor ...)) (equal 31622399 (floor ...))) :value nil)) FAILED 29/35 ts-update passed 30/35 ts-year passed 31/35 ts< passed 32/35 ts<= passed 33/35 ts= passed 34/35 ts> passed 35/35 ts>= Ran 35 tests, 34 results as expected, 1 unexpected (2020-03-23 01:14:41+0000) 1 unexpected results: FAILED ts-update command "emacs" "--batch" "-l" "test/test.el" "-f" "ert-run-tests-batch-and-exit" failed with status 1 --8<---------------cut here---------------end--------------->8---