diff test/test_readconfig.py @ 297:4dd6ec3a1151

Make it possible to use parallel builds for packages that support it: Add a new per-track configuration option deb_build_options whose value is passed as the DEB_BUILD_OPTIONS environment variable to the pbuilder process.
author Bernhard Herzog <bh@intevation.de>
date Fri, 20 Nov 2009 20:19:51 +0000
parents faeeac2c4c71
children c32dc72ba979
line wrap: on
line diff
--- a/test/test_readconfig.py	Wed Nov 18 18:11:22 2009 +0000
+++ b/test/test_readconfig.py	Fri Nov 20 20:19:51 2009 +0000
@@ -48,6 +48,7 @@
 packager_class: readconfig_test.extraargs
 orig_tarball: %(base_dir)s/mytarball.tgz
 rules_svn_url: file:///tmp/my-debian-repository
+deb_build_options: parallel=2
 """
 
     files = [("treepkg.cfg", config_contents),
@@ -83,6 +84,7 @@
                  base_dir="/home/builder/mill/tracks/extraargs",
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
+                 deb_build_options="parallel=2",
                  pkg_revision_template="treepkg%(pkg_revision)d",
                  handle_dependencies=False,
                  packager_class="readconfig_test.extraargs",
@@ -97,6 +99,7 @@
                  base_dir="/home/builder/mill/tracks/simple",
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
+                 deb_build_options="",
                  rules_svn_url="",
                  pkg_revision_template="treepkg%(pkg_revision)d",
                  handle_dependencies=True,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)