summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* stratum-overlap-warns: make test more looseRichard Maw2012-06-142-6/+11
| | | | | the exact format of the logging may change, so just check that the artifact, the chunks and the files are mentioned
* morph: remove dead code and replace Execute with app.runcmdRichard Maw2012-05-301-1/+2
|
* Add test for using --tempdirRichard Maw2012-05-301-0/+26
|
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-05-157-0/+212
|\
| * tests: stratum overlap tests files insteadRichard Maw2012-05-154-6/+12
| | | | | | | | | | | | Rather than parse the output of tar -tvf, extract the tarballs and test the files. This should hopefully be more stable than the output of tar
| * tests: update to produce less useless outputRichard Maw2012-05-146-29/+9
| | | | | | | | | | | | output is properly sorted, and redundant data is removed also the stratum in stratum-overlap-*.setup are unpacked in a different order, so there is a symlink to stomp first
| * tests: add checks for link behaviourRichard Maw2012-05-148-1/+84
| |
| * tests: rename stratum-overlap to *-warnsRichard Maw2012-05-143-8/+30
| | | | | | | | | | The test is purely that the warnings are logged, whether it handles overlapping correctly is another issue
| * builder: log to warnings when artifacts overlapRichard Maw2012-05-142-0/+121
| | | | | | | | | | It may be better to print it to the console, but that requires getting self.msg set
* | Add test case for autotools buildsystem handling autogen.sh failingLars Wirzenius2012-05-152-0/+39
|/
* Remove debug helper log file specLars Wirzenius2012-05-041-1/+1
|
* Add explicit repo prefixes to test scriptsLars Wirzenius2012-05-0415-44/+51
|
* Fix repo-alias value to use right syntaxLars Wirzenius2012-05-041-1/+1
|
* Make cmdtests set up repo-aliases and use prefixed reponamesLars Wirzenius2012-05-041-2/+2
|
* Use dedicated <cachedir>/artficats directory for local artifact cache.Jannis Pohlmann2012-05-039-9/+11
| | | | | | Make sure that this directory is actually created before trying to save artifacts to it. Also adjust all tests to use this new directory for looking up artifacts.
* Get rid of the old internal morph APIsLars Wirzenius2012-05-024-68/+0
|
* Build items as late as possible in the build order.Jannis Pohlmann2012-05-011-8/+8
| | | | | | | | At the moment this is done by creating a reverse topological sorting starting with the artifacts that depend on nothing else. Artifacts are then added to build groups as late as possible. Fix show-dependencies test output for the new build order generation.
* build-system-cpan test: only check file in tarRichard Maw2012-04-302-11/+1
| | | | | | It is possible that a bunch of stuff will be put in the tarball. What matters is if the binary is in the tarball, so only print that line of output
* Fix "morph build" when building stuff that uses submodulesLars Wirzenius2012-04-251-0/+4
|
* Make test output be quite quiet with squeeze's version of gitLars Wirzenius2012-04-251-1/+2
|
* Make test output more quite by telling git init to be quiteLars Wirzenius2012-04-251-1/+1
|
* Remove set -x to make test output be silentLars Wirzenius2012-04-251-1/+1
|
* Oops, that error message was _not_ actually expectedLars Wirzenius2012-04-251-1/+0
| | | | | | We should be failing the test, since the code is broken. The expected output should not include the error; when the error goes away the test will pass.
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-252-0/+42
|\
| * tests: add test for update-gits caching submodulesRichard Maw2012-04-252-0/+42
| | | | | | | | | | | | | | | | | | | | The test creates a repository with an empty commit to be a submodule, alters the chunk to have this repository as a submodule, then after building checks whether each of the repositories have been cached. This is tested by testing if the repositories are in there rather than listing all the repositories because the normalisation fails when the URIs have been mangled
* | Add test for building something with a chunk that uses submodulesLars Wirzenius2012-04-252-0/+69
|/
* build-system: cpan tests: simplify and correctRichard Maw2012-04-252-13/+6
| | | | | | | The normalisation code is no longer needed because it is configured to always generate the right path now. This also needs the output to be corrected
* build-system: python-distutils, correct outputRichard Maw2012-04-231-2/+2
|
* build-system: distutils test, fix outputRichard Maw2012-04-231-0/+1
| | | | | | | Debian systems install python packages into dist-packages, default python behaviour is to install into site-packages. To reconcile this difference, treat any foo-packages component as just being packages.
* build-system-cpan.script: fix whitespaceRichard Maw2012-04-231-1/+2
|
* cpan test: fix confusion over archnameRichard Maw2012-04-231-4/+1
| | | | | archname may be in the version information twice if perl's configure script was passed -Darchname, so exclude that result
* build-system-cpan test: remove redundant manglingRichard Maw2012-04-231-3/+1
|
* tests: cpan use prefix for simpler outputRichard Maw2012-04-232-16/+10
|
* tests: add test for build-system: cpanRichard Maw2012-04-232-0/+92
| | | | | | This does some horrible output mangling because where you install perl modules depends on how your perl was compiled and its version. This will still probably fail on some machines
* Normalize test output for build-system.python-distutils testLars Wirzenius2012-04-232-5/+8
| | | | | The output otherwise differs between various Linux distros, with differnet distutils settings and Python versions.
* tests: add test for python distutilsRichard Maw2012-04-232-0/+72
|
* tests: add test for build-system: autotoolsRichard Maw2012-04-232-0/+65
|
* morphless chunks test: fix outputRichard Maw2012-04-202-1/+11
| | | | | The test needs to check whether the chunk has the expected contents. It used to mistakenly check if there were any chunks in the git cache.
* Add test case for morphless chunksLars Wirzenius2012-04-191-0/+61
|
* Fix expected output for test caseLars Wirzenius2012-04-181-1/+1
| | | | The code has changed the error message.
* Add _create_source_pool() method and update show-dependencies.Jannis Pohlmann2012-04-171-2/+2
| | | | | | The Morph#_create_source_pool method takes a repo cache and a repo, ref, filename triplet and resolves all the sources involved in a potential build of this triplet.
* Re-implement show-dependencies using ArtifactResolver and BuildOrder.Jannis Pohlmann2012-04-161-123/+123
|
* show-dependencies test: correct the stdoutRichard Maw2012-04-111-122/+122
| | | | | | The old form is more verbose, fully qualifying the repository and branch names. This is unnecessary as they should never be ambigous and the new form is much nicer to read.
* tests: add tests for update-gitsRichard Maw2012-04-102-0/+66
|
* Refactor tests/*.script to use scripts/test-morph instead of tests/morphLars Wirzenius2012-03-2710-46/+16
|
* Add rudimentary branch+merge supportLars Wirzenius2012-03-263-125/+125
|\
| * Normalize output of show-dependencies testLars Wirzenius2012-03-232-124/+124
| |
| * Fix expected output to match current test outputLars Wirzenius2012-03-231-1/+1
| |
* | Separate tests that need to be run as root in their own directoryLars Wirzenius2012-03-263-105/+0
| |
* | Add test output of the make-patch test.Jannis Pohlmann2012-03-232-0/+19
| |