[Python-modules-commits] [tqdm] 05/06: run performance tests in a separate, non-failing, command; Closes: #851591
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 22 21:17:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository tqdm.
commit 246c317ca4da062e251c2cb1b027da72fde4c3fd
Author: Sandro Tosi <morph at debian.org>
Date: Sun Jan 22 16:13:25 2017 -0500
run performance tests in a separate, non-failing, command; Closes: #851591
---
debian/changelog | 3 ++-
debian/rules | 8 ++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e6c0ba9..25116b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ tqdm (4.11.1-1) UNRELEASED; urgency=medium
* New upstream release
* debian/rules
- install CONTRIBUTING.md as doc
+ - run performance tests in a separate, non-failing, command; Closes: #851591
- -- Sandro Tosi <morph at debian.org> Sun, 22 Jan 2017 16:09:15 -0500
+ -- Sandro Tosi <morph at debian.org> Sun, 22 Jan 2017 16:13:01 -0500
tqdm (4.10.0-1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 064f058..354a025 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,11 +14,15 @@ override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
# tests/ dir is not copied, so we do that, else we cant run the tests in the build dir
cp -r $(CURDIR)/tqdm/tests/ $(CURDIR)/$(LIB2)/tqdm/
- nosetests $(LIB2)/tqdm/
+ # run perf tests in a separate, non-failing, line
+ nosetests -Itests_perf.py $(LIB2)/tqdm/
+ -nosetests $(LIB2)/tqdm/tests/tests_perf.py
rm -rf $(CURDIR)/$(LIB2)/tqdm/tests/
cp -r $(CURDIR)/tqdm/tests/ $(CURDIR)/$(LIB3)/tqdm/
- nosetests3 $(LIB3)/tqdm/
+ # run perf tests in a separate, non-failing, line
+ nosetests3 -Itests_perf.py $(LIB3)/tqdm/
+ -nosetests3 $(LIB3)/tqdm/tests/tests_perf.py
rm -rf $(CURDIR)/$(LIB3)/tqdm/tests/
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tqdm.git
More information about the Python-modules-commits
mailing list