diff test/test_builder.py @ 171:c0ea6cbb0fd2

Add "--debbuildopts -b" to "pbuilder build" command line to stop pbuilder from creating a source package. The .changes would otherwise contain references to that new source package instead of the one we passed to pbuilder. The checksums for the two source packages would be different so the .changes file would not match the source package that treepkg produces.
author Bernhard Herzog <bh@intevation.de>
date Mon, 23 Jun 2008 16:12:01 +0000
parents bfcb2bbf9a52
children 97435e92411a
line wrap: on
line diff
--- a/test/test_builder.py	Mon Jun 23 13:21:08 2008 +0000
+++ b/test/test_builder.py	Mon Jun 23 16:12:01 2008 +0000
@@ -162,6 +162,7 @@
                                  '--configfile', 'my_pbuilderrc',
                                  '--logfile', 'the_logfile',
                                  '--buildresult', binary_dir_name,
+                                 '--debbuildopts', '-b',
                                  'my_dsc_file'])
         self.failUnless(os.path.isdir(binary_dir_name))
 
@@ -183,6 +184,7 @@
                                  '--bindmounts', "/home/builder/pbuilder",
                                  '--logfile', 'the_logfile',
                                  '--buildresult', binary_dir_name,
+                                 '--debbuildopts', '-b',
                                  'my_dsc_file'])
         self.failUnless(os.path.isdir(binary_dir_name))
 
@@ -203,6 +205,7 @@
                                  '--extrapackages', "texinfo",
                                  '--logfile', 'the_logfile',
                                  '--buildresult', binary_dir_name,
+                                 '--debbuildopts', '-b',
                                  'my_dsc_file'])
         self.failUnless(os.path.isdir(binary_dir_name))
 
@@ -225,6 +228,7 @@
                                  '--configfile', 'my_pbuilderrc',
                                  '--logfile', 'the_logfile',
                                  '--buildresult', binary_dir_name,
+                                 '--debbuildopts', '-b',
                                  'my_dsc_file'])
         self.failUnless(os.path.isdir(binary_dir_name))
         self.failUnless(os.path.exists(env_test_file))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)