unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: 56712@debbugs.gnu.org
Cc: Po Lu <luangruo@yahoo.com>
Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin
Date: Fri, 22 Jul 2022 17:10:16 -0400	[thread overview]
Message-ID: <35f58e97-4b26-d2ec-ce50-f5ffc7db366a@cornell.edu> (raw)

The test in the subject fails as follows on Cygwin:

Test x-dnd-tests-do-direct-save backtrace:
   ert--should-signal-hook(ert-test-failed (((should (equal (x-dnd-test
   signal(ert-test-failed (((should (equal (x-dnd-tests-call-xds-conver
   ert-fail(((should (equal (x-dnd-tests-call-xds-converter) '(STRING .
   (if (unwind-protect (setq value-19 (apply fn-17 args-18)) (setq form
   (let (form-description-21) (if (unwind-protect (setq value-19 (apply
   (let ((value-19 'ert-form-evaluation-aborted-20)) (let (form-descrip
   (let* ((fn-17 #'equal) (args-18 (condition-case err (let ((signal-ho
   (prog1 'XdndActionDirectSave (let* ((fn-10 #'eq) (args-11 (condition
   x-begin-drag(("XdndDirectSave0" "text/uri-list") XdndActionDirectSav
   x-dnd-do-direct-save("/tmp/x-dnd-test7T4xoz" "x-dnd-test-targetDdUAT
   (list (x-dnd-do-direct-save original-file x-dnd-tests-xds-name nil n
   (let ((signal-hook-function #'ert--should-signal-hook)) (list (x-dnd
   (condition-case err (let ((signal-hook-function #'ert--should-signal
   (let* ((fn-47 #'eq) (args-48 (condition-case err (let ((signal-hook-
   (progn (if (file-exists-p original-file) nil (write-region "" 0 orig
   (unwind-protect (progn (if (file-exists-p original-file) nil (write-
   (progn (unwind-protect (progn (if (file-exists-p original-file) nil
   (let* ((--cl-gui-set-selection-- #'ignore)) (progn (unwind-protect (
   (let ((x-dnd-tests-xds-include-hostname include-hostname) (x-dnd-tes
   x-dnd-tests-do-direct-save-internal(nil)
   (closure (t) nil (x-dnd-tests-do-direct-save-internal nil) (x-dnd-te
   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
   ert-run-test(#s(ert-test :name x-dnd-tests-do-direct-save :documenta
   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
   ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
   ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
   ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
   eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
   command-line-1(("-L" ":../../master/test" "-l" "ert" "-l" "lisp/x-dn
   command-line()
   normal-top-level()
Test x-dnd-tests-do-direct-save condition:
     (ert-test-failed
      ((should
        (equal
         (x-dnd-tests-call-xds-converter)
         '(STRING . "S")))
       :form
       (equal
        (STRING . "E")
        (STRING . "S"))
       :value nil :explanation
       (cdr
        (array-elt 0
                   (different-atoms ... ...)))))

The failure first occurred in the commit that introduced the test.  Let me know 
what I can do to help debug this.

Ken


In GNU Emacs 29.0.50 (build 42, x86_64-pc-cygwin, GTK+ Version 3.22.28, cairo 
version 1.17.4)
  of 2022-07-22 built on moufang2
Repository revision: 3534a8e15c971d4dc901e029f8c0f6ba68fcecd5
Repository branch: master
Windowing system distributor 'The Cygwin/X Project', version 11.0.12101003
Configured using:
  'configure 'CFLAGS=-g3 -O0''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY GFILENOTIFY PDUMPER PNG
RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix





             reply	other threads:[~2022-07-22 21:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 21:10 Ken Brown [this message]
2022-07-23  1:10 ` bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23 17:30   ` Ken Brown
2022-07-23 17:41     ` Ken Brown
2022-07-24  2:26     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24  5:50       ` Eli Zaretskii
2022-07-24  7:23         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24  7:42           ` Michael Albinus
2022-07-24  8:55           ` Eli Zaretskii
2022-07-24 10:55             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24 13:33             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24 15:40               ` Ken Brown
2022-07-25  1:02                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-25  1:42                   ` Ken Brown
2022-07-25  2:10                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-25 16:24                       ` Ken Brown
2022-07-25 16:53                         ` Eli Zaretskii
2022-07-26  2:10                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-26  2:38                             ` Eli Zaretskii
2022-07-26  2:52                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=35f58e97-4b26-d2ec-ce50-f5ffc7db366a@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=56712@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).