[reprotest] 03/03: main: suppress more warnings in tests

Ximin Luo infinity0 at debian.org
Mon Nov 27 12:03:43 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 9d9dd0426c3303b4499a0c941c825e5bc88457b3
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Nov 27 13:03:22 2017 +0100

    main: suppress more warnings in tests
---
 reprotest/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index f88ce8d..9d9cf6e 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -768,7 +768,7 @@ def run(argv, dry_run=None):
         for extra_build in parsed_args.extra_build:
             specs.append(spec.extend(extra_build))
         check_func = check
-    if parsed_args.min_cpus is None:
+    if parsed_args.min_cpus is None and not dry_run:
         logger.warn("The control build runs on 1 CPU by default, give --min-cpus to increase this.")
     min_cpus = parsed_args.min_cpus or 1
     build_variations = Variations.of(

-- 
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