Re: Testsuite of package squizz fails for d/compat > 9

2018-02-18 Thread Andreas Tille
On Sun, Feb 18, 2018 at 04:00:48PM +0100, Sebastiaan Couwenberg wrote:
> The parallel option is enabled by default for compat level >= 10, try
> setting `dh --no-parallel` to disable the parallel option again.

I confirm that running only build time tests with --no-parallel is
sufficient.  I'm a bit astonished that this works despite my previous
analysis that $srcdir is not set.

Anyway thanks for the helpful hint

  Andreas.

-- 
http://fam-tille.de



Re: Testsuite of package squizz fails for d/compat > 9

2018-02-18 Thread Sebastiaan Couwenberg
The parallel option is enabled by default for compat level >= 10, try
setting `dh --no-parallel` to disable the parallel option again.

Kind Regards,

Bas



Testsuite of package squizz fails for d/compat > 9

2018-02-18 Thread Andreas Tille
Hi,

my last commit to squizz[1] breaks the build time tests.  This commit is

index 9e8f3c6..b932c33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+squizz (0.99d+dfsg-2) UNRELEASED; urgency=medium
+
+  * Check why debhelper compat level 10 makes test fail
+
+ -- Andreas Tille   Sun, 18 Feb 2018 15:27:33 +0100
+
 squizz (0.99d+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index c543fc7..46b86f0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,7 @@ Uploaders: Olivier Sallou ,
Andreas Tille 
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 9),
-   dh-autoreconf
+Build-Depends: debhelper (>= 10)
 Standards-Version: 4.1.3
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/squizz.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/squizz.git
diff --git a/debian/rules b/debian/rules
index 7b8b6cd..b9c72e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,4 +9,4 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-   dh $@ --with autoreconf
+   dh $@


The reason why several tests are failing is that the scripts in test/
dir are trying to access for instance files seqdir=$srcdir/sequence but
the $srcdir variable is not properly set (its actually empty).  So
somehow setting d/compat to 10 does something else than simply
autoreconf.  I assumed that the debhelper 10 is actually enforcing
autoreconf which does not seem to be the case here.

Any idea what might be wrong?

Kind regards

   Andreas.

[1] https://anonscm.debian.org/git/debian-med/squizz.git

-- 
http://fam-tille.de