Control: tag -1 +patch Enclosed is the patch to run dh_auto_test only if CPUs >= 2. Confirmed to build fine on 1-core amd64 box (virtualbox environment).
Cheers, -- Roger Shimizu, GMT +9 Tokyo PGP/GPG: 4096R/6C6ACD6417B3ACB1
From: Roger Shimizu <rogershim...@gmail.com> Date: Sat, 11 Feb 2017 17:23:06 +0900 Subject: [PATCH] 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 <rogershim...@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