summaryrefslogtreecommitdiff
path: root/tests.as-root/setup
Commit message (Collapse)AuthorAgeFilesLines
* Use morph print-architecture to generate morphologiesRichard Maw2014-03-141-2/+2
| | | | | 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-13/+1
|
* Dropped support for 'system-kind' from system morphology filesDan Firth2013-09-271-2/+0
|
* Dropped support for 'disk-size' from system morphology files'Dan Firth2013-09-271-2/+0
|
* Fix tests to use rootfs-tarball system-kinds, instead of disksLars Wirzenius2013-04-231-2/+2
|
* Add 'build-mode' field for chunks in a stratumSam Thursfield2013-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove features used by old bootstrap methodSam Thursfield2013-03-131-1/+0
| | | | | | That means that bootstrapping Baserock is currently not possible with this branch of Morph, but there's no reason it cannot be bootstrapped using an older version of Morph instead.
* Amend tests to trigger failure to recursively update strataRichard Maw2013-02-131-0/+34
|
* Change build tests to use YAML morphologiesJavier Jardón2013-01-281-88/+56
|
* Add a stratum build-dependency to all as-root testsSam Thursfield2012-12-181-0/+7
|
* Update as-root tests to use their setup infrastructureSam Thursfield2012-11-141-16/+21
| | | | Code to generate system images was being duplicated in each test needlessly.
* tests: Always use test:morphs for morphs repoSam Thursfield2012-11-121-3/+3
| | | | Some tests were using test:morphs-repo instead.
* Fix things so test suite works on Debian squeezeLars Wirzenius2012-09-131-1/+1
| | | | | | | | | | This requires disabling the feature that retains the original order of fields in a morphlogy when it gets overwritten. The implementation relies on features that are not available in Python 2.6. We need to support Morph on Debian squeeze, for bootstrapping purposes, and therefore need to have it work with Python 2.6. However, the morphology rewriting is only relevant for system branching and merging, and that isn't needed for bootstrapping, so we disable the affected tests on Python 2.6.
* tests: Always use fixed git committer infoSam Thursfield2012-09-131-12/+1
| | | | | | Move this into a script which can be sourced by the 'setup' scripts and the actual tests (this is needed as the environment in 'setup' is not passed on to the tests).
* Make commits in root tests reproducible by fixing git meta dataJannis Pohlmann2012-09-071-0/+13
|
* Add a new 'morph build' for building from a system branchJannis Pohlmann2012-09-071-0/+37
| | | | | | | | | | | | | | | | This new command does a lot. First of all, its command line interface has now changed to 'morph build SYSTEM' and it needs to be run from a system branch. When called, the new 'build' command will identify the repositories and morphologies involved in building the system from the system branch, create a build ref behind the scenes based on the system branch and add a commit with all uncommitted changes to this build branch for every repo involved. It will then push those build branches to the repository server and kick off a build of BRANCH_ROOT BUILD_BRANCH SYSTEM.morph. After building has finished, the remote build branches will be deleted again.
* Strata should be referred to with full repo/ref/morph tripletsSam Thursfield2012-08-301-1/+5
| | | | | | | | 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-1/+1
| | | | 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
|
* Black box tests: remove non-x86 special caseRichard Maw2012-07-051-0/+1
| | | | | | | | | 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.
* Add check for missing build depends in strataLars Wirzenius2012-06-281-1/+2
| | | | | | | 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-0/+2
| | | | | | | | 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.
* builder: log to warnings when artifacts overlapRichard Maw2012-05-141-0/+18
| | | | | It may be better to print it to the console, but that requires getting self.msg set
* Make cmdtests set up repo-aliases and use prefixed reponamesLars Wirzenius2012-05-041-2/+2
|
* Separate tests that need to be run as root in their own directoryLars Wirzenius2012-03-261-0/+128