[med-svn] [iqtree] 01/03: debian/rules: Run dh_auto_test only if CPUs >= 2
Andreas Tille
tille at debian.org
Sat Feb 11 13:02:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository iqtree.
commit e02d5f0650d19c61df771a009788f7c2c2d136a5
Author: Roger Shimizu <rogershimizu at gmail.com>
Date: Sat Feb 11 17:23:06 2017 +0900
debian/rules: Run dh_auto_test only if CPUs >= 2
Closes: #854500
---
debian/changelog | 8 ++++++++
debian/rules | 2 ++
2 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1bed007..d3c3d63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+iqtree (1.5.3+dfsg-2) UNRELEASED; urgency=medium
+
+ [ Roger Shimizu ]
+ * debian/rules:
+ - Run dh_auto_test only if CPUs >= 2 (Closes: #854500).
+
+ -- Roger Shimizu <rogershimizu at gmail.com> Sat, 11 Feb 2017 17:21:32 +0900
+
iqtree (1.5.3+dfsg-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/rules b/debian/rules
index 6147979..6709e2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,7 +60,9 @@ override_dh_auto_test:
# iqtreeomp=`find $(CURDIR) -name iqtree-omp -type f -executable` ; \
# ln -s iqtree-omp `dirname $$iqtreeomp`/iqtree ; \
# fi
+ifneq ($(shell nproc), 1)
sed '/ myprefix/,$$d' debian/Documents_source/example.sh > example.short
echo 'time $(CURDIR)/build.omp/iqtree-omp -s example.phy -omp 2 -redo' >> example.short
time sh example.short
rm example.short
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/iqtree.git
More information about the debian-med-commit
mailing list