GNU bug report logs - #40189
emacs-ts fails its test suite

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 23 Mar 2020 01:18:02 UTC

Severity: normal

Tags: fixed

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 40189 <at> debbugs.gnu.org
Subject: bug#40189: emacs-ts fails its test suite
Date: Sun, 22 Mar 2020 21:17:00 -0400
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---




This bug report was last modified 4 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.