The following commit has been merged in the master branch:
commit d67e535ed56077fe63608bb5415e4ca85d6a64c0
Author: Niels Thykier <[email protected]>
Date:   Sun Feb 17 10:56:07 2013 +0100

    r/harness: Make dry-run skip the lintian run
    
    With the introduction of "group-scheduling" in harness, dry-run
    regressed into running lintian.
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/reporting/harness b/reporting/harness
index 2e748d8..9aab497 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -399,6 +399,13 @@ unless ($opt{'reports-only'}) {
             Log ("Running Lintian (round $round/$rounds) ...");
             Log (" - cmd: $cmd $output");
             Log (" - Range: $worklist[$start] ... " . $worklist[$start + $len 
- 1]);
+
+            if ($opt{'dry-run'}) {
+                splice @worklist, $start, $len;
+                $output = " >>$lintian_log 2>&1";
+                next;
+            }
+
             open $lintpipe, '|-', "$cmd $output"
                 or Die ("fork failed: $!");
             foreach my $query (splice @worklist, $start, $len) {

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to