From: Tim Harder Date: Thu, 17 Mar 2016 03:57:16 +0000 (-0400) Subject: app-editors/vim: drop unnecessary test hacks X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d2018f09204f3da8cd103943e15344d4e5ed6de3;p=gentoo.git app-editors/vim: drop unnecessary test hacks --- diff --git a/app-editors/vim/vim-7.4.1583.ebuild b/app-editors/vim/vim-7.4.1583.ebuild index d0e5706af1cf..d711d5e20a50 100644 --- a/app-editors/vim/vim-7.4.1583.ebuild +++ b/app-editors/vim/vim-7.4.1583.ebuild @@ -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 diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild index d0e5706af1cf..09e7b1185984 100644 --- a/app-editors/vim/vim-9999.ebuild +++ b/app-editors/vim/vim-9999.ebuild @@ -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 ) @@ -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