[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 06/06: Try and avoid some false positives in override_dh_auto_test-does-not-check-DEB_BUILD_PROFILES thanks to suggestion by Mattia. Maybe this will be too noisy after all.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit c1a33d5f43b5662d55cfdf76573d90125dfb3cef
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Jan 30 06:58:38 2018 +0000

    Try and avoid some false positives in override_dh_auto_test-does-not-check-DEB_BUILD_PROFILES thanks to suggestion by Mattia. Maybe this will be too noisy after all.
---
 checks/rules.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/checks/rules.pm b/checks/rules.pm
index 3e1b2c3..b31200a 100644
--- a/checks/rules.pm
+++ b/checks/rules.pm
@@ -443,7 +443,9 @@ sub run {
         tag 'override_dh_auto_test-does-not-check-DEB_BUILD_PROFILES',
           "(line $line)"
           if $rules_per_target{'override_dh_auto_test'}
-          and none { m/(DEB_BUILD_OPTIONS|nocheck)/ } @conditionals;
+          and none { m/(DEB_BUILD_OPTIONS|nocheck)/ } @conditionals
+          and none { m/\bdh_auto_test\b/ }
+        $rules_per_target{'override_dh_auto_test'};
     }
 
     # Make sure that all the required build dependencies are there.  Don't

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: