summaryrefslogtreecommitdiff
path: root/tests.as-root/rootfs-tarball-builds-rootfs-and-kernel.script
Commit message (Collapse)AuthorAgeFilesLines
* cmdtests: Use YAML not JSON to represent morphologiesAdam Coldrick2014-08-141-8/+5
|
* 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.
* Revert "tests: Allow running ./check on 32-bit x86"Richard Maw2014-03-141-1/+1
| | | | | | | | | This reverts commit f366960273b026322f7e7cc3c1eb0cd632ebc73e. These changes break building on x86_64, which is our main development platform. Better patches will be forthcoming later.
* tests: Allow running ./check on 32-bit x86Richard Maw2014-03-141-2/+2
| | | | | | | | uname will return the same string morph expects as an architecture on x86_64, but the canonical x86_32 architecture names match i?86 instead. To make it work on 32-bit, we replace calls to uname with morph print-architecture, which does the translation for us.
* Dropped support for 'system-kind' from system morphology filesDan Firth2013-09-271-3/+0
|
* Disable make-patch test, since make-patch is brokenLars Wirzenius2013-04-231-6/+0
| | | | | | make-patch needs to be changed to work with rootfs-tarball systems, instead of disk images. This is not happening any time soon, so disable the test for now.
* Change build tests to use YAML morphologiesJavier Jardón2013-01-281-1/+1
|
* Reinstate check for python 2.7Richard Maw2013-01-221-0/+3
|
* Merge branch 'jjardon/python_compatibility_fixes' of ↵Richard Maw2013-01-211-3/+1
|\ | | | | | | | | | | | | | | | | | | ssh://git.baserock.org/baserock/baserock/morph This includes the following fixups: - altering the bootstrap script to install ordereddict and simplejson. - Adding a comment to clarify that it is intentional to use simplejson if collections does not have OrderedDict - Amending the copyright years to include 2013
| * tests.as-root/*: Remove check to run only the teset with Python 2.7Javier Jardón2013-01-181-2/+0
|/ | | | | As we use ordererdict for python < 2.7 as well See 37f8d84d7ab356169bf7c04bdecb39a61b85c88d
* Update as-root tests to use their setup infrastructureSam Thursfield2012-11-141-51/+11
| | | | Code to generate system images was being duplicated in each test needlessly.
* Tidy up command testsSam Thursfield2012-11-141-6/+7
| | | | Be consistent about placement of test description, blank lines, etc.
* Consolidate checks for python versionRichard Maw2012-11-131-3/+1
| | | | | | | | Most of the bespoke logic for the version check is unnecessary, since the output to display can be easily inferred from the filename. This fixes some test failures where the version check would cat a file to fake the output, but fail because the file was removed.
* tests: Always use test:morphs for morphs repoSam Thursfield2012-11-121-3/+3
| | | | Some tests were using test:morphs-repo instead.
* Write metadata for the rootfs itself into the rootfsSam Thursfield2012-10-261-1/+0
| | | | | | | | This makes it easier to identify what version of a system we are running. Tests are updated to check inside the contents of the rootfs we created, and the code to mount the rootfs as a loopback device was extracted out into tests.as-root/lib
* Disable two tests if Python 2.6 is being usedLars Wirzenius2012-10-121-0/+4
|
* 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-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".
* Fix variable reference in test scriptLars Wirzenius2012-07-261-1/+1
|
* Fix rootfs-tarball to create kernel image on all archesLars Wirzenius2012-07-261-14/+24
| | | | Previously, it was only being created on ARM.
* Modify test case for rootfs-tarball (instead of just arm)Lars Wirzenius2012-07-261-0/+85