[Piuparts-commits] rev 841 - in trunk: . debian

Holger Levsen holger at alioth.debian.org
Tue Dec 28 01:38:46 UTC 2010


Author: holger
Date: 2010-12-28 01:38:46 +0000 (Tue, 28 Dec 2010)
New Revision: 841

Modified:
   trunk/debian/changelog
   trunk/piuparts-slave.py
Log:
  - also do upgrade tests if the version of a package being tested (the one 
    in the upgraded distro) is not available in the distro being upgraded 
    from.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-12-28 01:10:28 UTC (rev 840)
+++ trunk/debian/changelog	2010-12-28 01:38:46 UTC (rev 841)
@@ -36,7 +36,10 @@
     - fix crash when going into sleep when idle. 
     - add support for only doing upgrade tests (without the basic test in the
       upgrade target distro).
-    - bugfix: support mirror configuration option also for upgrade-tests.
+    - honor mirror configuration option also for upgrade-tests.
+    - also do upgrade tests if the version of a package being tested (the one 
+      in the upgraded distro) is not available in the distro being upgraded 
+      from.
   * piuparts.py: 
     - new option: --log-level to specify the verbosity of piuparts
       output. Thanks to Fabrice Coutadeur for the patch! (Closes: #567190)

Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py	2010-12-28 01:10:28 UTC (rev 840)
+++ trunk/piuparts-slave.py	2010-12-28 01:38:46 UTC (rev 841)
@@ -296,7 +296,7 @@
             for package_name, version in self._slave.get_reserved():
                 if package_name in packages_file:
                     package = packages_file[package_name]
-                    if version == package["Version"]:
+                    if version == package["Version"] or self._config["upgrade-test-distros"]:
                         test_package(self._config, package, packages_files)
                     else:
                         create_file(os.path.join("untestable", 




More information about the Piuparts-commits mailing list