[git-buildpackage] git-buildpackage: Test cases for non-native package
agx at sigxcpu.org
Wed Feb 17 13:38:51 CET 2016
On Wed, Feb 17, 2016 at 05:56:31PM +1100, Ben Finney wrote:
> On 20-Oct-2015, Guido Günther wrote:
> > A testcase using e.g. tests/component/deb/test_buildpackage.py
> > to make sure it doesn't get broken again would be welcome too.
> I am trying to build a test case for this, but there does npt seem to
> be a good way to add a “non-native package using overlay” scenario in
> that module. I don't even see a “non-native package” starting point.
Check the dsc and import-orig component tests. They import a non native
> My attempts began with refactoring the ‘deb.TestBuildpackage’ class
> to extract common elements of each test case. Please feel free to
> merge those changes.
> I was not able to figure out how to make a test case function
> ‘TestBuildpackage.test_non_native_buildpackage’ that would correctly
> test that scenario. Lacking that, I don't even know how to begin
> making a similar scenario ‘test_non_native_with_overlay_buildpackage’.
This is like test_debian_buildpackage but imports hello-debian instead
of git-buildpackage. I've pushed a patch that shows this:
More information about the git-buildpackage