File: 0006-skip-truncated-stdin-tests.patch

package info (click to toggle)
flycheck 35.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,344 kB
  • sloc: lisp: 16,730; python: 739; makefile: 243; cpp: 24; ruby: 23; perl: 21; ada: 17; f90: 16; javascript: 15; haskell: 15; erlang: 14; xml: 14; ansic: 12; sh: 10; php: 9; tcl: 8; fortran: 3; vhdl: 2; awk: 1; sql: 1
file content (31 lines) | stat: -rw-r--r-- 1,228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Denis Danilov <danilovdenis@yandex.ru>
Date: Wed, 25 Nov 2020 22:16:10 +0100
Subject: skip truncated-stdin-* tests

they are flaky on amd64 and ppc64el

Forwarded: not-needed
---
 test/flycheck-test.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/flycheck-test.el b/test/flycheck-test.el
index 1fad48e..ea593e8 100644
--- a/test/flycheck-test.el
+++ b/test/flycheck-test.el
@@ -2852,6 +2852,7 @@ evaluating BODY."
 ;; https://github.com/flycheck/flycheck/issues/1278
 (ert-deftest flycheck-start-command-checker/truncated-stdin-with-errors ()
   :tags '(command-checker)
+  (ert-skip "skip flaky tests")
   (cl-letf* ((flycheck-checker 'truncated-stdin)
              ((symbol-plist 'truncated-stdin) flycheck-test--truncated-stdin))
     (dolist (buffer-size '(4095 65537))
@@ -2866,6 +2867,7 @@ evaluating BODY."
 ;; https://github.com/flycheck/flycheck/issues/1278
 (ert-deftest flycheck-start-command-checker/truncated-stdin-without-errors ()
   :tags '(command-checker)
+  (ert-skip "skip flaky tests")
   (cl-letf* ((flycheck-checker 'truncated-stdin)
              ((symbol-plist 'truncated-stdin) flycheck-test--truncated-stdin)
              ((flycheck-checker-get 'truncated-stdin 'error-patterns)