Mercurial > treepkg
diff test/test_builder.py @ 209:cbcd8f549ff7
Make logfile and binary_dir parameters of PBuilder.build optional.
Adapt test cases to changed order of pbuild command line arguments.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 14 Nov 2008 19:41:03 +0000 |
parents | e3ab8aca2b08 |
children | ce7be2fb93ee |
line wrap: on
line diff
--- a/test/test_builder.py Thu Nov 06 15:59:50 2008 +0000 +++ b/test/test_builder.py Fri Nov 14 19:41:03 2008 +0000 @@ -190,10 +190,10 @@ "/home/builder/pbuilder"]) self.check_command_line(['/usr/sbin/pbuilder', 'build', '--configfile', 'my_pbuilderrc', + '--logfile', logfilename, + '--buildresult', binary_dir_name, '--bindmounts', "/home/builder/tracks", '--bindmounts', "/home/builder/pbuilder", - '--logfile', logfilename, - '--buildresult', binary_dir_name, '--debbuildopts', '-b', 'my_dsc_file']) self.failUnless(os.path.isdir(binary_dir_name)) @@ -213,10 +213,10 @@ extra_packages=["subversion", "texinfo"]) self.check_command_line(['/usr/sbin/pbuilder', 'build', '--configfile', 'my_pbuilderrc', + '--logfile', logfilename, + '--buildresult', binary_dir_name, '--extrapackages', "subversion", '--extrapackages', "texinfo", - '--logfile', logfilename, - '--buildresult', binary_dir_name, '--debbuildopts', '-b', 'my_dsc_file']) self.failUnless(os.path.isdir(binary_dir_name))