[SCM] Debian package checker branch, master, updated. 2.5.11-164-gd67e535
The following commit has been merged in the master branch:
commit d67e535ed56077fe63608bb5415e4ca85d6a64c0
Author: Niels Thykier <niels@thykier.net>
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 <niels@thykier.net>
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
Reply to: