[vim] 03/04: d/rules: Ensure $TERM is sane before running tests
James McCoy
jamessan at debian.org
Sun Apr 23 16:40:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit d99bf4222c20d1f900456d3e96e64f5f629dfbf4
Author: James McCoy <jamessan at debian.org>
Date: Sun Apr 23 08:10:02 2017 -0400
d/rules: Ensure $TERM is sane before running tests
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 2 ++
debian/rules | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7498065..7cb0a6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ vim (2:8.0.0197-4) UNRELEASED; urgency=medium
stretch-backports/security to deb{changelog,sources} syntax files.
* debsources.vim: Require word boundaries around distribution name.
(Closes: #859247)
+ * Set $TERM to a known sane value when running tests to avoid test failures
+ due to an unknown $TERM.
-- James McCoy <jamessan at debian.org> Sat, 22 Apr 2017 13:45:28 -0400
diff --git a/debian/rules b/debian/rules
index 7b8d992..9b76c98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -287,7 +287,8 @@ build-stamp-%: configure-stamp-%
dh_prep -p $(PKG)
@echo "*** DEBIAN *** BUILDING VARIANT $*"
$(MAKE) -C src/$(SHADOWDIR)
- [ $(MAKETEST) != "yes" ] || flock debian $(MAKE) -j1 -C src/$(SHADOWDIR) test
+ # Ensure $TERM is set to a sane value for testing
+ [ $(MAKETEST) != "yes" ] || flock debian env TERM=xterm $(MAKE) -j1 -C src/$(SHADOWDIR) test
touch $@
install: install-stamp-xxd $(foreach v,$(VARIANTS),install-stamp-$(v))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list