From: Eli Zaretskii <eliz@gnu.org>
To: "Ulrich Müller" <ulm@gentoo.org>
Cc: 71749@debbugs.gnu.org
Subject: bug#71749: 29.4; Test failure in flymake-tests.el with GCC 14.1.1
Date: Mon, 24 Jun 2024 18:00:51 +0300 [thread overview]
Message-ID: <86ed8mbd24.fsf@gnu.org> (raw)
In-Reply-To: <usex2ihyr@gentoo.org> (message from Ulrich Müller on Mon, 24 Jun 2024 15:33:00 +0200)
> From: Ulrich Müller <ulm@gentoo.org>
> Date: Mon, 24 Jun 2024 15:33:00 +0200
>
> Emacs 29.4 fails tests with GCC 14.1.1 (Gentoo package
> sys-devel/gcc-14.1.1_p20240518):
>
> HOME=/nonexistent LANG=C EMACS_TEST_DIRECTORY=/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test "../src/emacs" --module-assertions --no-init-file --no-site-file --no-site-lisp -L ":." \
> -l ert --eval '(setq ert-batch-backtrace-right-margin nil)' -l src/emacs-module-tests \
> --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))' > src/emacs-module-tests.log 2>&1 || { STAT=$?; cat src/emacs-module-tests.log; exit $STAT; }
> Running 9 tests (2024-06-24 15:21:29+0200, selector ‘(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))’)
> passed 1/9 different-diagnostic-types (1.294288 sec)
> passed 2/9 dummy-backends (1.002899 sec)
> passed 3/9 eob-region-and-trailing-newline (0.000172 sec)
> Test included-c-header-files backtrace:
> [... backtrace omitted ...]
>
> Test included-c-header-files condition:
> (ert-test-failed
> ((should
> (eq 'flymake-warning
> (face-at-point)))
> :form
> (eq flymake-warning flymake-error)
> :value nil))
> FAILED 4/9 included-c-header-files (1.067014 sec) at lisp/progmodes/flymake-tests.el:168
> passed 5/9 perl-backend (1.025399 sec)
> passed 6/9 recurrent-backend (1.003033 sec)
> passed 7/9 ruby-backend (1.019991 sec)
> passed 8/9 warning-predicate-function-gcc (1.020760 sec)
> passed 9/9 warning-predicate-rx-gcc (1.021962 sec)
>
> Ran 9 tests, 8 results as expected, 1 unexpected (2024-06-24 15:21:38+0200, 8.529267 sec)
>
> 1 unexpected results:
> FAILED included-c-header-files ((should (eq 'flymake-warning (face-at-point))) :form (eq flymake-warning flymake-error) :value nil)
>
> make[3]: *** [Makefile:180: lisp/progmodes/flymake-tests.log] Error 1
> make[3]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test'
> make[2]: [Makefile:340: check-doit] Error 2 (ignored)
>
> SUMMARY OF TEST RESULTS
> -----------------------
> Files examined: 466
> Ran 6977 tests, 6757 results as expected, 1 unexpected, 219 skipped
> 1 files contained unexpected results:
> lisp/progmodes/flymake-tests.log
> make[2]: *** [Makefile:341: check-doit] Error 1
> make[2]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test'
> make[1]: *** [Makefile:310: check] Error 2
> make[1]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test'
> make: *** [Makefile:1105: check] Error 2
>
>
> Attached patch (for the emacs-30 branch) fixes the problem for me:
Thanks, please install on the emacs-30 branch.
prev parent reply other threads:[~2024-06-24 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 13:33 bug#71749: 29.4; Test failure in flymake-tests.el with GCC 14.1.1 Ulrich Müller
2024-06-24 15:00 ` Eli Zaretskii [this message]
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=86ed8mbd24.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71749@debbugs.gnu.org \
--cc=ulm@gentoo.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.