Skip to content

Commit

Permalink
app-editors/vim: skip flaky/hanging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamesam committed Oct 29, 2021
1 parent 5df9f0d commit 32fc93f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app-editors/vim/vim-8.2.3428-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
14 changes: 14 additions & 0 deletions app-editors/vim/vim-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 32fc93f

Please sign in to comment.