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

[lintian] 01/02: c/testsuite.pm: Allow test names with upper case letters



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

nthykier pushed a commit to branch master
in repository lintian.

commit 94b641af358fa4efde01d9ef2770abf5ff172691
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Sep 24 10:14:17 2013 +0200

    c/testsuite.pm: Allow test names with upper case letters
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/testsuite.pm |    2 +-
 debian/changelog    |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/checks/testsuite.pm b/checks/testsuite.pm
index b7cac82..3816a5a 100644
--- a/checks/testsuite.pm
+++ b/checks/testsuite.pm
@@ -148,7 +148,7 @@ sub check_test_file {
     my $path = "$directory/$name";
     my $index = $info->index($path);
 
-    if ($name !~ m{^ [ [:digit:] [:lower:] \+ \- \. / ]++ $}xsm) {
+    if ($name !~ m{^ [ [:alnum:] \+ \- \. / ]++ $}xsm) {
         tag 'illegal-runtime-test-name', $name;
     }
     if (not defined($index)) {
diff --git a/debian/changelog b/debian/changelog
index 4d6bd5b..0a63c60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,11 @@ lintian (2.5.19) UNRELEASED; urgency=low
 
   XXX: generate tag summary with private/generate-tag-summary
 
+  * checks/testsuite.pm:
+    + [NT] Allow uppercase letters in the names of DEP-8
+      tests, now that the DEP-8 officially "tolerates" them.
+      (see #711844)
+
   * reporting/{config,harness}:
     + [NT] Determine the html_reports command automatically
       instead of allowing it to be configurable.

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


Reply to: