[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.48-56-g08ec045

Holger Levsen holger at layer-acht.org
Tue Jan 1 13:23:10 UTC 2013


The following commit has been merged in the piatti branch:
commit e99daa5a33338f4f94e3218e0ac2a9d1b9f65198
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Fri Dec 21 11:59:16 2012 +0100

    p: enable upgrade test with --apt and --testdeps-repo
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index 8e50d0d..5b8d8b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ piuparts (0.49) UNRELEASED; urgency=low
     - Add --distupgrade-to-testdebs option. During distupgrade tests override
       packages from the target distro with the packages from the testdebs
       repository. This allows doing distupgrade tests before uploading.
+    - Enable upgrade tests if both --apt and --testdebs-repo are given.
   * piuparts.conf:
   * piupartslib/conf.py:
     - Add get_final_distro() method.
diff --git a/piuparts.py b/piuparts.py
index 86290a7..00067e5 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -2839,7 +2839,7 @@ def process_packages(package_list):
             logging.info("PASS: Installation and purging test.")
 
         if not settings.no_upgrade_test:
-            if not settings.args_are_package_files:
+            if not settings.args_are_package_files and not settings.testdebs_repo:
                 logging.info("Can't test upgrades: -a or --apt option used.")
             else:
                 packages_to_query = [p.split("=", 1)[0].strip() for p in packages]

-- 
piuparts git repository



More information about the Piuparts-commits mailing list