Skip to content

Commit

Permalink
app-editors/vim: drop unnecessary test hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Mar 17, 2016
1 parent f504afc commit d2018f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
14 changes: 1 addition & 13 deletions app-editors/vim/vim-7.4.1583.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -271,19 +271,7 @@ src_test() {
# Don't let vim talk to X
unset DISPLAY

# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir

# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile

# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile

# Don't try to do the additional GUI test
emake -j1 VIMPROG=../vim nongui
emake -j1 -C src/testdir nongui
}

# Make convenience symlinks, hopefully without stepping on toes. Some
Expand Down
16 changes: 2 additions & 14 deletions app-editors/vim/vim-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ REQUIRED_USE="

RDEPEND="
>=app-eselect/eselect-vi-1.1
>=sys-libs/ncurses-5.2-r2:=
>=sys-libs/ncurses-5.2-r2:0=
nls? ( virtual/libintl )
acl? ( kernel_linux? ( sys-apps/acl ) )
cscope? ( dev-util/cscope )
Expand Down Expand Up @@ -271,19 +271,7 @@ src_test() {
# Don't let vim talk to X
unset DISPLAY

# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir

# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile

# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile

# Don't try to do the additional GUI test
emake -j1 VIMPROG=../vim nongui
emake -j1 -C src/testdir nongui
}

# Make convenience symlinks, hopefully without stepping on toes. Some
Expand Down

0 comments on commit d2018f0

Please sign in to comment.