On Sat, Feb 11, 2017 at 3:55 PM, Roger Shimizu <[email protected]> wrote: > Control: tag -1 +patch > > Enclosed is the patch to disable the test.
Propose a better patch. So test will be skipped only if there's only 1-core in the build system. Cheers, -- Roger Shimizu, GMT +9 Tokyo PGP/GPG: 4096R/6C6ACD6417B3ACB1
From: Roger Shimizu <[email protected]> Date: Sun, 12 Feb 2017 22:17:14 +0900 Subject: [PATCH] debian/rules: Run dh_auto_test only if CPUs >= 2 Closes: #851876 --- debian/changelog | 8 ++++++++ debian/rules | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index 633b11e..53b7747 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +slt (0.0.git20140301-3) UNRELEASED; urgency=medium + + [ Roger Shimizu ] + * debian/rules: + - Run dh_auto_test only if CPUs >= 2 (Closes: #851876). + + -- Roger Shimizu <[email protected]> Sun, 12 Feb 2017 22:16:24 +0900 + slt (0.0.git20140301-2) unstable; urgency=medium * wrap-and-sort -ast diff --git a/debian/rules b/debian/rules index e8db377..0d33c78 100755 --- a/debian/rules +++ b/debian/rules @@ -8,3 +8,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all override_dh_installman: ronn < man/slt.8.ronn >debian/slt.8 dh_installman + +# Run test only if CPUs >= 2. See Bug#851876 +override_dh_auto_test: +ifneq ($(shell nproc), 1) + dh_auto_test +else + @echo dh_auto_test skipped on 1-Core CPU platform +endif

