diff options
| author | Ulrich Müller | 2024-06-24 15:20:26 +0200 |
|---|---|---|
| committer | Ulrich Müller | 2024-06-24 15:45:42 +0200 |
| commit | a769f171e7ebb8e30f198f4328d46f47fe7958fb (patch) | |
| tree | f9783a7b23f06ccaa7aa9d78579fe0cdde790aef /test | |
| parent | 96e27c2ecf9914cbb9d2e0824adf501082f88ef6 (diff) | |
| download | emacs-a769f171e7ebb8e30f198f4328d46f47fe7958fb.tar.gz emacs-a769f171e7ebb8e30f198f4328d46f47fe7958fb.zip | |
; Fix flymake tests with GCC 14.
* test/lisp/progmodes/flymake-tests.el (included-c-header-files):
Fix test failure with GCC 14. (Bug#71749)
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/progmodes/flymake-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el index 21dbb0711d2..93bc9028031 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el | |||
| @@ -174,7 +174,8 @@ SEVERITY-PREDICATE is used to setup | |||
| 174 | (flymake-tests--with-flymake | 174 | (flymake-tests--with-flymake |
| 175 | ("some-problems.h") | 175 | ("some-problems.h") |
| 176 | (flymake-goto-next-error) | 176 | (flymake-goto-next-error) |
| 177 | (should (eq 'flymake-warning (face-at-point))) | 177 | ;; implicit-int was promoted from warning to error in GCC 14 |
| 178 | (should (memq (face-at-point) '(flymake-warning flymake-error))) | ||
| 178 | (flymake-goto-next-error) | 179 | (flymake-goto-next-error) |
| 179 | (should (eq 'flymake-error (face-at-point))) | 180 | (should (eq 'flymake-error (face-at-point))) |
| 180 | (should-error (flymake-goto-next-error nil nil t))) | 181 | (should-error (flymake-goto-next-error nil nil t))) |