[neovim] 03/05: Skip known flaky tests by setting $TEST_SKIP_FRAGILE

James McCoy jamessan at debian.org
Thu May 4 03:20:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/experimental
in repository neovim.

commit ae19656e5b5711bb79c919fe0f4c99c5a34ed9cb
Author: James McCoy <jamessan at debian.org>
Date:   Mon May 1 23:12:38 2017 -0400

    Skip known flaky tests by setting $TEST_SKIP_FRAGILE
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog | 1 +
 debian/rules     | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d0ef3f..49a7f9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ neovim (0.2.0-1) UNRELEASED; urgency=medium
     + 'mouse=a' is no longer set by default.
     + debcontrol.vim: Add "rust" and "javascript" as known sections.  (Closes:
       #847541)
+  * Skip known flaky tests by setting $TEST_SKIP_FRAGILE.
 
  -- James McCoy <jamessan at debian.org>  Mon, 01 May 2017 22:50:45 -0400
 
diff --git a/debian/rules b/debian/rules
index 71eaa5f..406370e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,10 +35,6 @@ override_dh_auto_build:
 override_dh_auto_install:
 	dh_auto_install --parallel -- VERBOSE=1 USE_BUNDLED_DEPS=OFF
 
-override_dh_auto_clean:
-	-[ -f debian/global_spec.lua ] && mv debian/global_spec.lua test/functional/ex_cmds/
-	dh_auto_clean
-
 override_dh_install:
 	dh_install --fail-missing
 
@@ -52,5 +48,4 @@ debian/fakehome:
 override_dh_auto_test-indep:
 
 override_dh_auto_test-arch: debian/passwd debian/fakehome
-	mv -f test/functional/ex_cmds/global_spec.lua debian/
-	env "HOME=$(CURDIR)/debian/fakehome" LD_PRELOAD=libnss_wrapper.so "NSS_WRAPPER_PASSWD=$(CURDIR)/debian/passwd" "NSS_WRAPPER_GROUP=$(CURDIR)/debian/group" make $(UNITTEST) $(FUNCTIONALTEST) oldtest VERBOSE=1 USE_BUNDLED_DEPS=OFF
+	env TEST_SKIP_FRAGILE=1 "HOME=$(CURDIR)/debian/fakehome" LD_PRELOAD=libnss_wrapper.so "NSS_WRAPPER_PASSWD=$(CURDIR)/debian/passwd" "NSS_WRAPPER_GROUP=$(CURDIR)/debian/group" make $(UNITTEST) $(FUNCTIONALTEST) oldtest VERBOSE=1 USE_BUNDLED_DEPS=OFF

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/neovim.git



More information about the pkg-vim-maintainers mailing list