all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 37440@debbugs.gnu.org
Subject: bug#37440: [PATCH] New rx implementation with extension constructs
Date: Tue, 24 Sep 2019 10:55:07 -0700	[thread overview]
Message-ID: <958a595d-41f1-f2ea-186c-672e783316ba@cs.ucla.edu> (raw)
In-Reply-To: <ba770b06-8169-afab-e246-f9de2631b031@cs.ucla.edu>

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

I tried the proposed patches with current Emacs master on Fedora 30 
x86-64 and got a test failure as shown in the attached file. Could you 
please look into that? Thanks.

[-- Attachment #2: rx-tests.log --]
[-- Type: text/x-log, Size: 3501 bytes --]

Running 25 tests (2019-09-24 10:51:06-0700, selector `(not (or (tag :expensive-test) (tag :unstable)))')
   passed   1/25  rx-any (0.000164 sec)
   passed   2/25  rx-atoms (0.000106 sec)
   passed   3/25  rx-category (0.000088 sec)
   passed   4/25  rx-char-any (0.000077 sec)
   passed   5/25  rx-char-any-range-nl (0.000078 sec)
Test rx-char-any-raw-byte backtrace:
  signal(ert-test-failed (((should (equal (rx (any "\326A\333B")) (str
  ert-fail(((should (equal (rx (any "\326A\333B")) (string-to-multibyt
  #f(compiled-function () #<bytecode 0x631e5d>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name rx-char-any-raw-byte :documentation "
  ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [... 
  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" "-l" "lisp/emacs-lisp/rx-tests"
  command-line()
  normal-top-level()
Test rx-char-any-raw-byte condition:
    (ert-test-failed
     ((should
       (equal
	(rx ...)
	(string-to-multibyte "[AB\326\333]")))
      :form
      (equal "[AB\326\333]" "[AB\326\333]")
      :value nil :explanation
      (array-elt 3
		 (different-atoms
		  (214 "#xd6" "?Ö")
		  (4194262 "#x3fffd6" "?\326")))))
   FAILED   6/25  rx-char-any-raw-byte (0.000191 sec)
   passed   7/25  rx-constituents (0.000136 sec)
   passed   8/25  rx-define (0.000081 sec)
   passed   9/25  rx-eval (0.000076 sec)
   passed  10/25  rx-group (0.000075 sec)
   passed  11/25  rx-kleene (0.000084 sec)
   passed  12/25  rx-let (0.000109 sec)
   passed  13/25  rx-let-define (0.000081 sec)
   passed  14/25  rx-let-eval (0.000102 sec)
   passed  15/25  rx-literal (0.000083 sec)
   passed  16/25  rx-not (0.000084 sec)
   passed  17/25  rx-or (0.000084 sec)
   passed  18/25  rx-pcase (0.000108 sec)
   passed  19/25  rx-redefine-builtin (0.000129 sec)
   passed  20/25  rx-regexp (0.000087 sec)
   passed  21/25  rx-repeat (0.000090 sec)
   passed  22/25  rx-seq (0.000095 sec)
   passed  23/25  rx-syntax (0.000083 sec)
   passed  24/25  rx-to-string (0.000091 sec)
Test rx-to-string-define backtrace:
  signal(error ("Unknown rx symbol `rx--d'"))
  apply(signal (error ("Unknown rx symbol `rx--d'")))
  #f(compiled-function () #<bytecode 0x637951>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name rx-to-string-define :documentation "C
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  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" "-l" "lisp/emacs-lisp/rx-tests"
  command-line()
  normal-top-level()
Test rx-to-string-define condition:
    (error "Unknown rx symbol `rx--d'")
   FAILED  25/25  rx-to-string-define (0.000149 sec)

Ran 25 tests, 23 results as expected, 2 unexpected (2019-09-24 10:51:06-0700, 0.264977 sec)

2 unexpected results:
   FAILED  rx-char-any-raw-byte
   FAILED  rx-to-string-define


  reply	other threads:[~2019-09-24 17:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17 12:49 bug#37440: [PATCH] New rx implementation with extension constructs Mattias Engdegård
2019-09-17 17:47 ` Paul Eggert
2019-09-24 17:55   ` Paul Eggert [this message]
2019-09-25 12:33     ` Mattias Engdegård
2019-09-25 21:30       ` Paul Eggert

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=958a595d-41f1-f2ea-186c-672e783316ba@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=37440@debbugs.gnu.org \
    --cc=mattiase@acm.org \
    /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.