all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Phillip Lord <phillip.lord@russet.org.uk>
Cc: 23625@debbugs.gnu.org
Subject: bug#23625: viper-tests.el fails in master
Date: Thu, 26 May 2016 13:33:53 -0700	[thread overview]
Message-ID: <aa6c1248-d545-3663-6de9-27add720a9f0@cs.ucla.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

Phillip, I just now merged emacs-25 into master and fixed all the merge 
conflicts that were easy, but one problem remains: viper-tests, which 
you recently introduced to emacs-25, fails in the new master. Could you 
please look into this? I don't offhand know what viper-tests is supposed 
to do and don't know how to interpret the test failures. Thanks.

The symptoms with Emacs master commit 
9a834970e822db10bc887db343fd8561a3639a66 compiled for Fedora 23 x86-64, 
are that 'make check' fails with the attached output seemingly being the 
relevant part of the output. This attachment contains some control 
characters; I hope they survive the email process.

(Is there any way to fix the test so that it outputs ordinary text when 
it fails?)


[-- Attachment #2: viper-test-log.txt --]
[-- Type: text/plain, Size: 5866 bytes --]

make[3]: Entering directory '/home/eggert/src/gnu/emacs/static-checking/test'
Compiling lisp/emulation/viper-tests.el
make[3]: Leaving directory '/home/eggert/src/gnu/emacs/static-checking/test'
Testing lisp/emulation/viper-tests.elc
Running 6 tests (2016-05-26 13:26:25-0700)
Loading viper...
Loading /tmp/viper-tests22411xv1...

Test viper-test-fix backtrace:
  viper--deactivate-advice-list()
  viper-go-away()
  toggle-viper-mode()
  #[nil "\301 \210\30!\207" [before-buffer toggle-viper-mode switch-
  viper-test-undo-kmacro([])
  apply(viper-test-undo-kmacro [])
  #[nil "\304\305C\x18\x19\306\x1a\307^[\310\216\311\"\211\x12)\204\x19\0\312\v!\210)\
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test viper-test-fix "Test that the viper
  ert-run-or-rerun-test([cl-struct-ert--stats (not (tag :expensive-tes
  ert-run-tests((not (tag :expensive-test)) #[385 "\306\x02\307\"\203G\0\2
  ert-run-tests-batch((not (tag :expensive-test)))
  ert-run-tests-batch-and-exit((not (tag :expensive-test)))
  eval((ert-run-tests-batch-and-exit (quote (not (tag :expensive-test)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emulation/viper-test
  command-line()
  normal-top-level()
Test viper-test-fix condition:
    (wrong-number-of-arguments
     (2 . 2)
     1)
   FAILED  1/6  viper-test-fix
   passed  2/6  viper-test-go
undo!
Test viper-test-undo-1 backtrace:
  viper--deactivate-advice-list()
  viper-go-away()
  toggle-viper-mode()
  #[nil "\301 \210\30!\207" [before-buffer toggle-viper-mode switch-
  viper-test-undo-kmacro([97 49 escape 111 50 escape 117])
  #[nil "\304\305\306\307!D\x18\x19\310\x1a\311^[\312\216\313\"\211\x12)\204\x1c\0\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test viper-test-undo-1 "Test for VI like
  ert-run-or-rerun-test([cl-struct-ert--stats (not (tag :expensive-tes
  ert-run-tests((not (tag :expensive-test)) #[385 "\306\x02\307\"\203G\0\2
  ert-run-tests-batch((not (tag :expensive-test)))
  ert-run-tests-batch-and-exit((not (tag :expensive-test)))
  eval((ert-run-tests-batch-and-exit (quote (not (tag :expensive-test)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emulation/viper-test
  command-line()
  normal-top-level()
Test viper-test-undo-1 condition:
    (wrong-number-of-arguments
     (2 . 2)
     1)
   FAILED  3/6  viper-test-undo-1
Deleted 2 characters
Deleted 2 characters
undo!
Test viper-test-undo-2 backtrace:
  viper--deactivate-advice-list()
  viper-go-away()
  toggle-viper-mode()
  #[nil "\301 \210\30!\207" [before-buffer toggle-viper-mode switch-
  viper-test-undo-kmacro([105 49 32 50 32 51 32 52 32 53 escape 70 50
  #[nil "\304\305\306\307!D\x18\x19\310\x1a\311^[\312\216\313\"\211\x12)\204\x1c\0\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test viper-test-undo-2 "Test for VI like
  ert-run-or-rerun-test([cl-struct-ert--stats (not (tag :expensive-tes
  ert-run-tests((not (tag :expensive-test)) #[385 "\306\x02\307\"\203G\0\2
  ert-run-tests-batch((not (tag :expensive-test)))
  ert-run-tests-batch-and-exit((not (tag :expensive-test)))
  eval((ert-run-tests-batch-and-exit (quote (not (tag :expensive-test)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emulation/viper-test
  command-line()
  normal-top-level()
Test viper-test-undo-2 condition:
    (wrong-number-of-arguments
     (2 . 2)
     1)
   FAILED  4/6  viper-test-undo-2
Deleted 2 characters
Deleted 2 characters
Deleted 2 characters
Deleted 2 characters
undo!
undo more!
undo more!
Test viper-test-undo-3 backtrace:
  viper--deactivate-advice-list()
  viper-go-away()
  toggle-viper-mode()
  #[nil "\301 \210\30!\207" [before-buffer toggle-viper-mode switch-
  viper-test-undo-kmacro([105 49 32 50 32 51 32 52 32 53 32 54 escape
  #[nil "\304\305\306\307!D\x18\x19\310\x1a\311^[\312\216\313\"\211\x12)\204\x1c\0\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test viper-test-undo-3 "Test for VI like
  ert-run-or-rerun-test([cl-struct-ert--stats (not (tag :expensive-tes
  ert-run-tests((not (tag :expensive-test)) #[385 "\306\x02\307\"\203G\0\2
  ert-run-tests-batch((not (tag :expensive-test)))
  ert-run-tests-batch-and-exit((not (tag :expensive-test)))
  eval((ert-run-tests-batch-and-exit (quote (not (tag :expensive-test)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emulation/viper-test
  command-line()
  normal-top-level()
Test viper-test-undo-3 condition:
    (wrong-number-of-arguments
     (2 . 2)
     1)
   FAILED  5/6  viper-test-undo-3
undo!
undo more!
undo more!
Test viper-test-undo-4 backtrace:
  viper--deactivate-advice-list()
  viper-go-away()
  toggle-viper-mode()
  #[nil "\301 \210\30!\207" [before-buffer toggle-viper-mode switch-
  viper-test-undo-kmacro([105 49 escape 111 50 escape 111 51 escape 11
  #[nil "\304\305\306\307!D\x18\x19\310\x1a\311^[\312\216\313\"\211\x12)\204\x1c\0\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test viper-test-undo-4 nil #[nil "\304\3
  ert-run-or-rerun-test([cl-struct-ert--stats (not (tag :expensive-tes
  ert-run-tests((not (tag :expensive-test)) #[385 "\306\x02\307\"\203G\0\2
  ert-run-tests-batch((not (tag :expensive-test)))
  ert-run-tests-batch-and-exit((not (tag :expensive-test)))
  eval((ert-run-tests-batch-and-exit (quote (not (tag :expensive-test)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emulation/viper-test
  command-line()
  normal-top-level()
Test viper-test-undo-4 condition:
    (wrong-number-of-arguments
     (2 . 2)
     1)
   FAILED  6/6  viper-test-undo-4

Ran 6 tests, 1 results as expected, 5 unexpected (2016-05-26 13:26:25-0700)

5 unexpected results:
   FAILED  viper-test-fix
   FAILED  viper-test-undo-1
   FAILED  viper-test-undo-2
   FAILED  viper-test-undo-3
   FAILED  viper-test-undo-4

ERROR: lisp/emulation/viper-tests.log

             reply	other threads:[~2016-05-26 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-26 20:33 Paul Eggert [this message]
2016-05-26 21:38 ` bug#23625: viper-tests.el fails in master Phillip Lord
2016-05-27 14:56   ` Stefan Monnier
2016-05-27 13:14 ` Andy Moreton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa6c1248-d545-3663-6de9-27add720a9f0@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=23625@debbugs.gnu.org \
    --cc=phillip.lord@russet.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.