Mercurial > treepkg
comparison test/test_readconfig.py @ 129:ce9f046058b5
Add the handle_dependencies Option for the config file. Extend the test
cases accordingly
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 23 May 2008 16:31:58 +0000 |
parents | 02c261e4443f |
children | 36004ee0b3a1 |
comparison
equal
deleted
inserted
replaced
128:5155b4f9443d | 129:ce9f046058b5 |
---|---|
27 pbuilder_dir: %(treepkg_dir)s/pbuilder | 27 pbuilder_dir: %(treepkg_dir)s/pbuilder |
28 pbuilderrc: %(pbuilder_dir)s/pbuilderrc | 28 pbuilderrc: %(pbuilder_dir)s/pbuilderrc |
29 deb_email: treepkg@example.com | 29 deb_email: treepkg@example.com |
30 deb_fullname: TreePKG | 30 deb_fullname: TreePKG |
31 debrevision_prefix: treepkg | 31 debrevision_prefix: treepkg |
32 handle_dependencies: False | |
32 | 33 |
33 [treepkg] | 34 [treepkg] |
34 instructions_file: %(treepkg_dir)s/instructions | 35 instructions_file: %(treepkg_dir)s/instructions |
35 check_interval: 3600 | 36 check_interval: 3600 |
36 | 37 |
37 [pkg_simple] | 38 [pkg_simple] |
38 svn_url: svn://example.com/%(name)s/trunk | 39 svn_url: svn://example.com/%(name)s/trunk |
39 base_dir: %(tracks_dir)s/%(name)s | 40 base_dir: %(tracks_dir)s/%(name)s |
40 packager_class: readconfig_test.%(name)s | 41 packager_class: readconfig_test.%(name)s |
42 handle_dependencies: True | |
41 | 43 |
42 [pkg_extraargs] | 44 [pkg_extraargs] |
43 svn_url: svn://example.com/%(name)s/trunk | 45 svn_url: svn://example.com/%(name)s/trunk |
44 base_dir: %(tracks_dir)s/%(name)s | 46 base_dir: %(tracks_dir)s/%(name)s |
45 packager_class: readconfig_test.extraargs | 47 packager_class: readconfig_test.extraargs |
79 dict(name="extraargs", | 81 dict(name="extraargs", |
80 base_dir="/home/builder/mill/tracks/extraargs", | 82 base_dir="/home/builder/mill/tracks/extraargs", |
81 deb_email="treepkg@example.com", | 83 deb_email="treepkg@example.com", |
82 deb_fullname="TreePKG", | 84 deb_fullname="TreePKG", |
83 debrevision_prefix="treepkg", | 85 debrevision_prefix="treepkg", |
86 handle_dependencies=False, | |
84 packager_class="readconfig_test.extraargs", | 87 packager_class="readconfig_test.extraargs", |
85 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", | 88 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", |
86 root_cmd=['sudo'], | 89 root_cmd=['sudo'], |
87 svn_url="svn://example.com/extraargs/trunk", | 90 svn_url="svn://example.com/extraargs/trunk", |
88 orig_tarball=("/home/builder/mill/" | 91 orig_tarball=("/home/builder/mill/" |
90 dict(name="simple", | 93 dict(name="simple", |
91 base_dir="/home/builder/mill/tracks/simple", | 94 base_dir="/home/builder/mill/tracks/simple", |
92 deb_email="treepkg@example.com", | 95 deb_email="treepkg@example.com", |
93 deb_fullname="TreePKG", | 96 deb_fullname="TreePKG", |
94 debrevision_prefix="treepkg", | 97 debrevision_prefix="treepkg", |
98 handle_dependencies=True, | |
95 packager_class="readconfig_test.simple", | 99 packager_class="readconfig_test.simple", |
96 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", | 100 pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc", |
97 root_cmd=['sudo'], | 101 root_cmd=['sudo'], |
98 svn_url="svn://example.com/simple/trunk")]) | 102 svn_url="svn://example.com/simple/trunk")]) |