summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Test suite: Print better info on t-ref-same failureIan Jackson2016-07-31
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: Print better info on failuresIan Jackson2016-07-31
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: quilt-gbp: New test (not yet complete)Ian Jackson2016-07-17
| | | | | | | | This test does not yet do all that we want, but it does some things and then exits 0. The current intent for the future is written in prose in the rest of the file.
* Test suite: t-gbp-example-prep: Arrange to be FF from the archiveIan Jackson2016-07-16
| | | | Otherwise pushes will necessarily (spuriously) fail.
* Test suite: unapplied-pq2qc: leave us on the qc/ branchIan Jackson2016-07-16
| | | | | The patch queue branch is not really very useful. Certainly, the build tests will require the patch queue branch.
* Test suite: When sbuild log file missing, make a noteIan Jackson2016-07-16
| | | | | | | This updates "Test suite: When sbuild fails, do not crash", to arrange that in this situation we do leave a message in the $bmlog, where it will be reported (eg) by diff. This makes debugging less confusing in cases where the log is indeed missing.
* Test suite: Provide t-gbp-example-prep [FOLD INTO QUILT-GBP TEST?]Ian Jackson2016-07-16
| | | | | This function is useful for setting up a test case --quilt=gbp working tree and corresponding archive contents, ready for substantive tests.
* Test suite: Move bm-quirk-sbuild-after-act to lib-build-modesIan Jackson2016-07-16
| | | | This will allow other tests to check dgit sbuild.
* Test suite: build-modes: Move sbuild knowledge to libIan Jackson2016-07-16
| | | | | Teach bm-guess-e-source-e-targets about sbuild, so this knowledge can be reused.
* Test suite: build-modes: Move `build-source' knowledge to libIan Jackson2016-07-16
| | | | | Teach bm-guess-e-source-e-targets about dgit build-source, so this knowledge can be reused.
* Test suite: Break out bm-prep-ownpackage-branchesIan Jackson2016-07-16
| | | | | We are going to want to run some build modes tests on other exciting trees.
* Test suite: quilt gbp: Provide example worktree tarballIan Jackson2016-07-16
| | | | | | | This working tree has some patch queues etc. in it, which will be useful for testing --quilt=gbp. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: unapplied-pq2qc: move into lib as a t- subroutineIan Jackson2016-07-16
|
* Test suite: Provide tests/unapplied-pq2qcIan Jackson2016-07-16
| | | | | Utility script for invoking gbp pq. I think I will want to swallow this into a t-* function in tests/lib.
* Provide 3.0 (quilt) patches-unapplied with .gitignore test caseIan Jackson2016-07-16
|
* Test dgit-repos-policy-debian with multiple (identical, as it happens) ↵Ian Jackson2016-07-16
| | | | existing taints.
* Test suite: Provide test for nonexistent --always-split-source-buildIan Jackson2016-07-16
| | | | | | | | | We are going to introduce this option soon. It is not supposed to actually have very much overall effect, although it will replumb the way dgit goes about making the source package. So the tests are just the same as the normal tests only with the additional option.
* Test suite: tartree-edit: document gitfetchinfo-merge in usage messageIan Jackson2016-07-16
|
* Test suite: run-all should use make -kIan Jackson2016-07-03
| | | | | Otherwise one failure causes the tests to be abandoned, which is not usually desirable.
* Test suite: lib t-untar of an edited tartree: do not hardlinkIan Jackson2016-07-03
| | | | | | Some of the tools we use, it turns out, do not update properly: they overwrite in place. This can cause inadvertant changes to a tartree opened for editing.
* Tests: tartree-edit: gitfetchinfo: Better commit messages for dirty tressIan Jackson2016-07-03
|
* Test suite: tartree-edit: gitfetchinfo generates remote/TT-HEADIan Jackson2016-07-03
| | | | Simply HEAD is not displayed by gitk, which is rather a shame.
* Test suite: tartree-edit: gitfetchinfo: Remerge on fetchIan Jackson2016-07-02
| | | | | When we unmerged some old A+B merged refs, make a note to merge them again. This saves the user calling gitfetchinfo-merge again.
* Test suite: tartree-edit: gitfetchinfo: Be a bit more carefulIan Jackson2016-07-02
| | | | | | * Turn on perl warnings * Use strict * When removing old merged refs, insist that we aren't handling A+A
* Test suite: tartree-edit: gitfetchinfo: Unmerge merged refsIan Jackson2016-07-02
| | | | | | | | | | | | The sequence gitfetchinfo-merge A B gitfetchinfo A gitfetchinfo-merge A B might leave inappropriate A+B refs, because nothing would delete them. So, have gitfetchinfo A unmerge any A+B or B+A refs. (This does mean that the user of gitfetchinfo A is now promising that any remotes A+B or B+A were made with gitfetchinfo-merge.)
* Test suite: tartree-edit: gitfetchinfo: Specify commit timestampsIan Jackson2016-07-02
| | | | | | We want the commit timestamps to be predictable (ie, to depend on the source info only), so that we don't show spurious disagreement between two working trees. So, use the timestamp of the HEAD commit.
* Test suite: tartree-edit: Provide facility for comparing sets of git refsIan Jackson2016-07-02
|
* Test suite: tartree-edit: break out git_manip_play (nfc)Ian Jackson2016-07-02
|
* Test suite: Provide `tartree-edit gitfetchinfo'Ian Jackson2016-07-02
| | | | Help with comparing different test case git working tree tarballs.
* Test suite: Test build modes -g and -GIan Jackson2016-07-01
|
* Tests: Use --rm-old-changes in build-mode testsIan Jackson2016-07-01
| | | | | | Soon, we are going to be stricter about detecting ambiguity about which .changes file is intended when different build modes have been used.
* Test suite: Test quilt single-debian-patchIan Jackson2016-07-01
|
* Increase sqlite_busy_timeout in debpolicy-dbretryIan Jackson2016-07-01
| | | | | zealot is very slow and we need to give the other processes time to rollback and release the lock.
* test suite: Remove spurious .debs from example_1.0.tarIan Jackson2016-07-01
|
* Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATEIan Jackson2016-07-01
| | | | | | | | | | | | | | This avoids most date dependencies: unless other measures are taken, the commits and tags are identical iff they are constructed identically. This makes the test suite more deterministic. In drs-push-rejects test, increment them explicitly, so as to make all of mktag's tags distinct objects. Otherwise it can generate identical tags (now, always; previously, only sometimes on fast computers), causing spurious variations in behaviour (eg, things not being rejected because they do not represent any change).
* Put --no-arch-all in build-modes-sbuild act, not only its real_actIan Jackson2016-07-01
| | | | Cosmetic change only.
* Test suite: When sbuild fails, do not crashIan Jackson2016-07-01
| | | | | ... due to sed not finding the log file. Instead, simply tolerate the absence of the log file.
* Test suite: run quilt-fixup with -wgf in distropatches-reject, so that we ↵Ian Jackson2015-08-22
| | | | don't need build-depends.
* Test suite: Fix t-restriction-x-dgit-schroot-build not to print to stdout ↵Ian Jackson2015-08-16
| | | | when it succeeds
* Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.Ian Jackson2015-08-16
|
* Test suite: in enumerate-tests, massage multi-line whynotIan Jackson2015-08-16
|
* Test suite: build-modes tests: Use gbp-build, not git-build, in testsIan Jackson2015-07-27
|
* Test suite: build-modes tests: Clean the tree ourselves before each testIan Jackson2015-07-27
|
* fixup! Test suite: Provide tests which check thatIan Jackson2015-07-27
|
* Test suite: build-modes tests: Do extra clean mode tests with build-sourceIan Jackson2015-07-27
|
* Test suite: build-modes tests: Generate id rather than using counterIan Jackson2015-07-27
|
* Test suite: Provide tests which check that all our various build operations ↵Ian Jackson2015-07-27
| | | | run the right targets as expected (ie, that we are massaging the arguments to dpkg-buildpackage, and suppressing our clean target, etc., correctly).
* Test suite: Provide "indep-arch" branch in example worktree which produces ↵Ian Jackson2015-07-27
| | | | both binary-indep and binary-arch packages
* Test suite: rename list-tests to enumerate-tests for ease of completion over ↵Ian Jackson2015-07-27
| | | | tests/lib*
* Test suite: Honour DGIT_TEST_DEBUG=''.Ian Jackson2015-07-26
|