summaryrefslogtreecommitdiff
path: root/tests.as-root/system-overlap.script
Commit message (Collapse)AuthorAgeFilesLines
* cmdtests: Use YAML not JSON to represent morphologiesAdam Coldrick2014-08-141-80/+52
|
* Use morph print-architecture to generate morphologiesRichard Maw2014-03-141-1/+1
| | | | | uname tends to only give us a valid morph architecture on x86_64, this makes it work on other architectures.
* Don't use repo or ref in test suiteRichard Maw2014-02-131-5/+1
|
* Dropped support for 'system-kind' from system morphology filesDan Firth2013-09-271-1/+0
|
* Dropped support for 'disk-size' from system morphology files'Dan Firth2013-09-271-1/+0
|
* Fix tests to use rootfs-tarball system-kinds, instead of disksLars Wirzenius2013-04-231-1/+1
|
* Add 'build-mode' field for chunks in a stratumSam Thursfield2013-03-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Allowed values: staging: build with a staging chroot (default) test: build with the host's tools bootstrap: build with the host's tools, and do not include this chunk in the final stratum artifact In the past, 'normal mode' has been used to describe building a chunk with the host's tools. We don't want that mode to ever be used, because it is a huge hole in reproducability, but we need to keep it around to avoid making Morph's cmdtest suite depend on Baserock. Hopefully naming it 'test' should discourage potential abusers. It is unfortunate that the build tests now take a separate code path compared to real-world usage of Morph. However, this is necessary to avoid a circular dependency between Morph's test suite and the build-essential stratum in Baserock. We do whole-build testing of Baserock, too, so the 'staging' code path is still tested outside of Morph. However, testing a staging area requires populating it with at minimum a working shell, and this is a bit too complex to go in Morph's test suite.
* Tidy up command testsSam Thursfield2012-11-141-6/+7
| | | | Be consistent about placement of test description, blank lines, etc.
* tests: Always use test:morphs for morphs repoSam Thursfield2012-11-121-4/+4
| | | | Some tests were using test:morphs-repo instead.
* Don't require .morph in triplet argumentsSam Thursfield2012-09-121-1/+1
| | | | | | | | | This gives us consistency with morphologies, where the triplets are repo|ref|morphology, not repo|ref|filename Anyone who runs 'morph build baserock:morphs master system.morph' will now see an error ending with 'was looking for system.morph.morph', which should make it clear where they have gone wrong.
* Rename 'morph build' command to 'morph build-morphology'Jannis Pohlmann2012-09-071-1/+1
| | | | | | | | | | This is needed because we are replacing the current build command by a new one that builds from a local system branch. Since that will be the more common scenario, we want the new implementaiton to go by the name 'morph build'. This commit therefore renames 'morph build' and updates all the tests to use 'morph build-morphology' instead.
* Strata should be referred to with full repo/ref/morph tripletsSam Thursfield2012-08-301-2/+10
| | | | | | | | This removes the requirement that all strata must be in the same repo as the system morphology. Both the system "strata" field and the stratum "build-depends" field are affected.
* Strata contain "chunks", not "sources"Sam Thursfield2012-08-291-2/+2
| | | | Rename "sources" field of stratum morphologies to "chunks".
* Refactor system building to use syskind specific classLars Wirzenius2012-07-261-1/+1
|
* Require system-kind on system morphologiesLars Wirzenius2012-07-191-0/+1
|
* system-overlap test: add arch fieldRichard Maw2012-07-051-0/+1
|
* Black box tests: remove non-x86 special caseRichard Maw2012-07-051-12/+0
| | | | | | | | | This removes the code preventing the tests being run on a non-x86 system, and makes the test system it tries to build be the same architecture as itself. System Build assumes x86 if arch is not specified for backwards compatibility right now.
* tests: fix up for change in artifact nameRichard Maw2012-07-031-2/+2
| | | | | This fixes references to a system artifact without the -rootfs appended and adds a unit test for resolving an arm system artifact.
* Fix path to /dev/null to be correctLars Wirzenius2012-07-021-1/+1
|
* Disable system-overlap test on !x86Lars Wirzenius2012-07-021-0/+12
|
* Add check for missing build depends in strataLars Wirzenius2012-06-281-4/+8
| | | | | | | This will make a build fail if the morphology is missing explicit build dependencies. Also fix test causes so that ./check passes.
* Fix test suite to deal with morph output changesLars Wirzenius2012-06-261-1/+1
| | | | | | | | Also, some bug fixes. Also, when handling a BaseException, log the exception (with traceback) that we're handling, in case there is an error while handling it, because the second error will otherwise mask the first one.
* tests: fix root scriptsRichard Maw2012-06-141-4/+8
| | | | | make-patch expected a tarball system-overlap was parsing logs rather than using a stable format
* Fix removal of ./ from filenames in test outputLars Wirzenius2012-06-081-1/+2
| | | | This happens on some machines, not others (squeeze vs baserock).
* Fix againLars Wirzenius2012-06-081-2/+1
| | | | It's too hard to test things on multiple machines at once before committing.
* Better fix for making test output systematicLars Wirzenius2012-06-081-1/+1
|
* Fix test case so it works on Debian squeezeLars Wirzenius2012-06-071-1/+2
| | | | | This only fixes the output so it is independent of the way various tools change output on different systems (sqeeze vs baserock).
* tests: update to produce less useless outputRichard Maw2012-05-141-1/+1
| | | | | | 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
* builder: log to warnings when artifacts overlapRichard Maw2012-05-141-0/+123
It may be better to print it to the console, but that requires getting self.msg set