7 t-buildproductsdir-config
9 t-prep-newpackage example 1.0
13 t-commit "make a commit" 1.1 stable
17 t-expect-fail "dgit: error: you asked for a builder but your debbuildopts didn't ask for any binaries -- is this really what you meant?" \
18 t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" pbuilder -S
20 t-expect-fail "dgit: error: we must build a .dsc to pass to the builder but your debbuiltopts forbids the building of a source package; cannot continue" \
21 t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" pbuilder -b
23 # it would be nice to try passing -g on the end of the following line
24 # to confirm it gets massaged into -A, but the example package is
25 # RC-buggy in that it doesn't build with -A ..
26 t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" --pbuilder!:--no-source-only-changes pbuilder
28 t-dgit -wgf push --new
30 t-pushed-good master stable
31 t-pushed-good-check-changes
33 # check we actually built binaries
34 t-push-included example_1.1_all.deb
36 # this purpose of this is to check that the _source.changes that was
37 # merged is the one that dgit made, not something pbuilder made (this
38 # works because the -v$v in the above is handled by dgit and not
39 # passed on to pbuilder)
40 grep -F "example (1.0)" $changes_filename