[git-buildpackage] git-buildpackage: Test cases for non-native package

Ben Finney ben+debian at benfinney.id.au
Wed Feb 17 07:56:31 CET 2016


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.

My attempts began with refactoring the ‘deb.TestBuildpackage’ class
<URL:https://notabug.org/bignose/debian_git-buildpackage/src/test-suite-refactor>,
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’.

-- 
 \         “The double standard that exempts religious activities from |
  `\       almost all standards of accountability should be dismantled |
_o__)                   once and for all.” —Daniel Dennett, 2010-01-12 |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20160217/804eb60a/attachment.sig>


More information about the git-buildpackage mailing list