]> git.donarmstrong.com Git - debbugs.git/commitdiff
Merge branch 'don/fix_encoding'
authorDon Armstrong <don@donarmstrong.com>
Thu, 14 Mar 2013 19:59:41 +0000 (12:59 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 14 Mar 2013 19:59:41 +0000 (12:59 -0700)
Debbugs/Control.pm
Makefile
scripts/gen-indices
t/01_pod.t

index 44463ba271189f4b9efd3c3f8a55df7797e4eb66..95876245ba215b59ffe4e37682af88bf0e2db0c2 100644 (file)
@@ -1579,7 +1579,11 @@ sub set_found {
                if (not @svers) {
                    @svers = $version;
                }
-               else {
+               elsif (not grep {$version eq $_} @svers) {
+                    # The $version was not equal to one of the source
+                    # versions, so it's probably unqualified (or just
+                    # wrong). Delete it, and use the source versions
+                    # instead.
                    if (exists $found_versions{$version}) {
                        delete $found_versions{$version};
                        $found_removed{$version} = 1;
index 7d427c61722a2209bbeb020c99d2bc07adbe401d..587670406b9eb7578055036259ac1741152e58e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,9 @@ build:
 test:
        $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))'
 
+test_%: t/%.t
+       $(PERL) -MTest::Harness -I. -e 'runtests(q($<))'
+
 testcover:
        PERLLIB=t/cover_lib/ cover -test
 
index d2cd9044b68af1bb8999f7f48128e16d3f9eb8c6..0fe8ea82fcb577304cebacc374e385832e8ba6a3 100755 (executable)
@@ -41,7 +41,7 @@ gen-indices - Generates index files for the cgi scripts
 
 =over
 
-=itme B<--quick>
+=item B<--quick>
 
 Only update changed bugs
 
index 1d7c4228ab6ca5492c7bf364b072a0d6d059e11c..8fb590fcd65d1f2b6e8503820a354860cf62530b 100644 (file)
@@ -2,4 +2,4 @@
 use Test::More;
 eval "use Test::Pod 1.00";
 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-all_pod_files_ok();
+all_pod_files_ok(all_pod_files('.'));