[neovim] 02/03: Skip testing with DEB_BUILD_OPTIONS=nocheck

James McCoy jamessan at debian.org
Thu Nov 9 04:41:16 UTC 2017


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

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

commit adbc899b79c7cfc73eb8af5cc6f02b4a4ca396f0
Author: James McCoy <jamessan at debian.org>
Date:   Wed Nov 8 23:35:54 2017 -0500

    Skip testing with DEB_BUILD_OPTIONS=nocheck
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2607adb..d1b1263 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 neovim (0.2.1-2) UNRELEASED; urgency=medium
 
   * Add liblua5.1-dev Build-Depends for non-luajit architectures
+  * Skip testing with DEB_BUILD_OPTIONS=nocheck
 
  -- James McCoy <jamessan at debian.org>  Wed, 08 Nov 2017 23:27:21 -0500
 
diff --git a/debian/rules b/debian/rules
index ac1deec..273267e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,9 +58,11 @@ debian/fakehome:
 
 override_dh_auto_test-indep:
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test-arch: debian/passwd debian/fakehome
 	env "HOME=$(CURDIR)/debian/fakehome" $(MAKE) -C src/nvim/testdir clean
 	env "HOME=$(CURDIR)/debian/fakehome" TERM=xterm $(MAKE) -C src/nvim/testdir "NVIM_PRG=$(CURDIR)/build/bin/nvim"
 ifneq (,$(UNITTEST)$(FUNCTIONALTEST))
 	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" $(BUILD) $(UNITTEST) $(FUNCTIONALTEST)
 endif
+endif

-- 
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