| 1 |
<!-- override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS (lintian v2.118.0) --> |
| 2 |
<p>The <code>debian/rules</code> file for this package has an |
| 3 |
<code>override_dh_auto_test</code> target that does not appear to |
| 4 |
check <code>DEB_BUILD_OPTIONS</code> against <code>nocheck</code>.</p> |
| 5 |
<p>As this check is not automatically performed by <a href="https://manpages.debian.org/debhelper(1)">debhelper(1)</a>, the |
| 6 |
specified testsuite is run regardless of another maintainer using |
| 7 |
the <code>nocheck</code> build option.</p> |
| 8 |
<p>Please add a check such as:</p> |
| 9 |
<pre><code>override_dh_auto_test: |
| 10 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 11 |
./run-upstream-testsuite |
| 12 |
endif |
| 13 |
</code></pre> |
| 14 |
<p>Lintian will ignore comments and other lines such as:</p> |
| 15 |
<pre><code># Disabled |
| 16 |
: Disabled |
| 17 |
echo "Disabled" |
| 18 |
mkdir foo/ |
| 19 |
ENV=var dh_auto_test -- ARG=value |
| 20 |
</code></pre> |
| 21 |
<p>This check is not required in Debhelper compat level 13 or greater |
| 22 |
(see <a href="https://bugs.debian.org/568897">Bug#568897</a>).</p> |