Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim/
Date: Fri, 29 Oct 2021 05:58:49
Message-Id: 1635487103.32fc93f4c6d277ba025266fe97adc91be4eaf2b6.sam@gentoo
1 commit: 32fc93f4c6d277ba025266fe97adc91be4eaf2b6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 05:57:41 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 05:58:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fc93f4
7
8 app-editors/vim: skip flaky/hanging tests
9
10 Closes: https://bugs.gentoo.org/742710
11 Closes: https://bugs.gentoo.org/616680
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-editors/vim/vim-8.2.3428-r1.ebuild | 14 ++++++++++++++
15 app-editors/vim/vim-9999.ebuild | 14 ++++++++++++++
16 2 files changed, 28 insertions(+)
17
18 diff --git a/app-editors/vim/vim-8.2.3428-r1.ebuild b/app-editors/vim/vim-8.2.3428-r1.ebuild
19 index d15fa2f9dcc..0da72544559 100644
20 --- a/app-editors/vim/vim-8.2.3428-r1.ebuild
21 +++ b/app-editors/vim/vim-8.2.3428-r1.ebuild
22 @@ -270,6 +270,20 @@ src_test() {
23 # Don't let vim talk to X
24 unset DISPLAY
25
26 + # See https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
27 + # for more information on test variables we can use.
28 + # Note that certain variables need vim-compatible regex (not PCRE), see e.g.
29 + # http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
30 + #
31 + # Skipped tests:
32 + # - Test_expand_star_star
33 + # Hangs because of a recursive symlink in /usr/include/nodejs (bug #616680)
34 + # - Test_exrc
35 + # Looks in wrong location? (bug #742710)
36 + # - Test_job_tty_in_out
37 + # Fragile and depends on TERM(?)
38 + export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\)'
39 +
40 emake -j1 -C src/testdir nongui
41 }
42
43
44 diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
45 index d15fa2f9dcc..0da72544559 100644
46 --- a/app-editors/vim/vim-9999.ebuild
47 +++ b/app-editors/vim/vim-9999.ebuild
48 @@ -270,6 +270,20 @@ src_test() {
49 # Don't let vim talk to X
50 unset DISPLAY
51
52 + # See https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
53 + # for more information on test variables we can use.
54 + # Note that certain variables need vim-compatible regex (not PCRE), see e.g.
55 + # http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
56 + #
57 + # Skipped tests:
58 + # - Test_expand_star_star
59 + # Hangs because of a recursive symlink in /usr/include/nodejs (bug #616680)
60 + # - Test_exrc
61 + # Looks in wrong location? (bug #742710)
62 + # - Test_job_tty_in_out
63 + # Fragile and depends on TERM(?)
64 + export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\)'
65 +
66 emake -j1 -C src/testdir nongui
67 }