comparison test/test_packager.py @ 344:f06f707d9fda

merged branches/scratchbox into trunk #### IMPORTANT FOR ALL TREEPKGS ##### pbuilderrc config variable name changed to builderconfig
author Bjoern Ricks <bricks@intevation.de>
date Fri, 23 Apr 2010 07:43:29 +0000
parents 4c047e979ff4
children fb92f3c1b238
comparison
equal deleted inserted replaced
343:c0808837fc64 344:f06f707d9fda
109 109
110 def runtest(self, debrevision, group_args=None, **extra_track_args): 110 def runtest(self, debrevision, group_args=None, **extra_track_args):
111 rootcmd = os.path.join(os.path.dirname(__file__), os.pardir, "test", 111 rootcmd = os.path.join(os.path.dirname(__file__), os.pardir, "test",
112 "mocksudopbuilder.py") 112 "mocksudopbuilder.py")
113 track = PackageTrack(name="testpkg", base_dir=self.trackdir, 113 track = PackageTrack(name="testpkg", base_dir=self.trackdir,
114 svn_url=self.svn_url, pbuilderrc="", 114 svn_url=self.svn_url, builderconfig="",
115 root_cmd=[sys.executable, rootcmd], 115 root_cmd=[sys.executable, rootcmd],
116 deb_email="treepkg@example.com", 116 deb_email="treepkg@example.com",
117 deb_fullname="treepkg tester", 117 deb_fullname="treepkg tester",
118 **extra_track_args) 118 **extra_track_args)
119 119
386 386
387 def __init__(self, name, handle_dependencies, requires, provides): 387 def __init__(self, name, handle_dependencies, requires, provides):
388 defaults = dict(base_dir="/home/builder/tracks/" + name, 388 defaults = dict(base_dir="/home/builder/tracks/" + name,
389 svn_url="svn://example.com", 389 svn_url="svn://example.com",
390 root_cmd=["false"], 390 root_cmd=["false"],
391 pbuilderrc="/home/builder/pbuilderrc", 391 builderconfig="/home/builder/pbuilderrc",
392 deb_email="treepkg@example.com", deb_fullname="treepkg", 392 deb_email="treepkg@example.com", deb_fullname="treepkg",
393 handle_dependencies=handle_dependencies) 393 handle_dependencies=handle_dependencies)
394 super(PackageTrackWithDependencies, 394 super(PackageTrackWithDependencies,
395 self).__init__(name, **defaults) 395 self).__init__(name, **defaults)
396 self.dependencies = (set(requires.split()), set(provides.split())) 396 self.dependencies = (set(requires.split()), set(provides.split()))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)