commit:     32fc93f4c6d277ba025266fe97adc91be4eaf2b6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 05:57:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 05:58:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fc93f4

app-editors/vim: skip flaky/hanging tests

Closes: https://bugs.gentoo.org/742710
Closes: https://bugs.gentoo.org/616680
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/vim/vim-8.2.3428-r1.ebuild | 14 ++++++++++++++
 app-editors/vim/vim-9999.ebuild        | 14 ++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/app-editors/vim/vim-8.2.3428-r1.ebuild 
b/app-editors/vim/vim-8.2.3428-r1.ebuild
index d15fa2f9dcc..0da72544559 100644
--- a/app-editors/vim/vim-8.2.3428-r1.ebuild
+++ b/app-editors/vim/vim-8.2.3428-r1.ebuild
@@ -270,6 +270,20 @@ src_test() {
        # Don't let vim talk to X
        unset DISPLAY
 
+       # See 
https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
+       # for more information on test variables we can use.
+       # Note that certain variables need vim-compatible regex (not PCRE), see 
e.g.
+       # 
http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
+       #
+       # Skipped tests:
+       # - Test_expand_star_star
+       # Hangs because of a recursive symlink in /usr/include/nodejs (bug 
#616680)
+       # - Test_exrc
+       # Looks in wrong location? (bug #742710)
+       # - Test_job_tty_in_out
+       # Fragile and depends on TERM(?)
+       export 
TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\)'
+
        emake -j1 -C src/testdir nongui
 }
 

diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
index d15fa2f9dcc..0da72544559 100644
--- a/app-editors/vim/vim-9999.ebuild
+++ b/app-editors/vim/vim-9999.ebuild
@@ -270,6 +270,20 @@ src_test() {
        # Don't let vim talk to X
        unset DISPLAY
 
+       # See 
https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
+       # for more information on test variables we can use.
+       # Note that certain variables need vim-compatible regex (not PCRE), see 
e.g.
+       # 
http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
+       #
+       # Skipped tests:
+       # - Test_expand_star_star
+       # Hangs because of a recursive symlink in /usr/include/nodejs (bug 
#616680)
+       # - Test_exrc
+       # Looks in wrong location? (bug #742710)
+       # - Test_job_tty_in_out
+       # Fragile and depends on TERM(?)
+       export 
TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\)'
+
        emake -j1 -C src/testdir nongui
 }
 

Reply via email to