[reprotest] 06/07: main: pass --debug to diffoscope if verbosity >= 2

Ximin Luo infinity0 at debian.org
Tue Sep 26 14:36:08 UTC 2017


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

infinity0 pushed a commit to branch master
in repository reprotest.

commit 7b9af31120ebac098a13efa71fb29647d86c0af6
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Sep 26 16:13:37 2017 +0200

    main: pass --debug to diffoscope if verbosity >= 2
---
 reprotest/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index 0c37631..760e920 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -639,6 +639,8 @@ def run(argv, dry_run=None):
     testbed_init = parsed_args.testbed_init
     diffoscope_args = parsed_args.diffoscope_arg
     source_pattern = parsed_args.source_pattern
+    if verbosity >= 2:
+        diffoscope_args += ["--debug"]
 
     # Do presets
     if build_command == 'auto':

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



More information about the Reproducible-commits mailing list