summaryrefslogtreecommitdiff
path: root/tests.as-root/make-patch.script
Commit message (Collapse)AuthorAgeFilesLines
* Don't require .morph in triplet argumentsSam Thursfield2012-09-121-2/+2
| | | | | | | | | 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-2/+4
| | | | | | | | | | 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-0/+1
| | | | | | | | 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".
* Fix getting name of rootfs files in test caseLars Wirzenius2012-07-261-1/+1
|
* tests/make-patch: mount disk image for testRichard Maw2012-07-161-6/+22
| | | | | | | | | | | | | | | Previously it would extract the stratum tarballs, since it was easier than mounting the disk image. Then when strata became chunk lists, this created the tarball, then extracted it. Now systems may contain files that aren't in the component strata, this causes problems for tbdiff-deploy, since it tries to alter a file that isn't there. So to fix this, it mounts the disk image, like it should have from the beginning.
* Black box tests: remove non-x86 special caseRichard Maw2012-07-051-11/+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.
* Disable make-patch test on !x86Lars Wirzenius2012-07-021-0/+11
|
* Add check for missing build depends in strataLars Wirzenius2012-06-281-2/+4
| | | | | | | This will make a build fail if the morphology is missing explicit build dependencies. Also fix test causes so that ./check passes.
* tests: fix root scriptsRichard Maw2012-06-141-2/+4
| | | | | make-patch expected a tarball system-overlap was parsing logs rather than using a stable format
* builder: log to warnings when artifacts overlapRichard Maw2012-05-141-19/+0
| | | | | It may be better to print it to the console, but that requires getting self.msg set
* Use explicit repo name prefixesLars Wirzenius2012-05-041-6/+6
|
* Use dedicated <cachedir>/artficats directory for local artifact cache.Jannis Pohlmann2012-05-031-3/+3
| | | | | | 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.
* Remove debugging aid I made for myselfLars Wirzenius2012-04-241-1/+1
|
* Fix make-patch to use new builder stuff, and its cmdtest testLars Wirzenius2012-04-231-46/+67
|
* make patch test: discard tbdiff outputRichard Maw2012-03-291-1/+1
| | | | | | | | | tbdiff can traverse the directory tree in an unsorted order, so two equivalent patches can make changes in any order This is a problem because tbdiff prints out the commands it ran, so the output is not always the same. For now, we can just discard this output, but ideally we want a --quiet option for tbdiff
* tests: fix paths in make-patch scriptRichard Maw2012-03-281-3/+3
|
* Expand tabsLars Wirzenius2012-03-261-12/+12
|
* Separate tests that need to be run as root in their own directoryLars Wirzenius2012-03-261-0/+86