summaryrefslogtreecommitdiff
path: root/tests.as-root/build-with-external-strata.script
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests for new `morph edit` syntaxPaul Sherwood2014-06-091-1/+0
|
* Fix paths for chunk directories in cmdtestsLars Wirzenius2014-03-061-2/+2
|
* Revert "Merge branch 'liw/restore-old-cmds'"Richard Maw2013-08-291-1/+1
| | | | | | | | | | | | | | | This reverts commit 2dc382a2a9ae977b1158002cd2631ec5593959c1, reversing changes made to 89a019af088ff62459699a6efdadf8ac8fe35dd9. We decided to restore the old commands for the release, as we weren't confident the new implementations were correct yet. To gain that confidence we need to use them, so the old versions are no longer available, and the new edit code is used when the edit subcommand is invoked. Doing so also requires the test suite to use the edit command instead of new-edit.
* Use new edit instead of old one in testsLars Wirzenius2013-08-191-1/+1
| | | | | | | The test suite got adapted so it requires the new edit instead of the old one. So use the new edit instead of the old one in the test. This is a kluge, and needs to be reverted after the BR10 release.
* Disable tests broken by "morph edit"Lars Wirzenius2013-08-141-0/+6
| | | | | | | | | | | | | | To the best of my ability to understand the old "morph build" code, these tests fail with this error: Conflicting versions of stratum 'hello-stratum' appear in the build. because of how the old "morph build" code creates temporary build refs, and gets them wrong. I believe the new "morph edit" is correct, but have not been able to find out what the root problem in "morph build" is, because the code is beyond my ability to understand it within two hours. Since I have a deadline for "morph edit", I reluctantly disable these tests, temporarily, rather than back out of all "morph edit" changes.
* Fix test suite to patch YAML instead of JSONLars Wirzenius2013-08-141-14/+14
| | | | | | | | | | | | | I shouldn't be doing this in the middle of refactoring, but trying to get the new code to emit exactly the right kind of JSON is too much pain, and these tests need to be rewritten to use YAML in the near future anyway (we'll drop JSON support eventually), so I don't want to spend more time on this than necessary. The changes in this commit convert morphologies in JSON to YAML, and fix test code that modifies the morphologies to work with the YAML. There is probably more JSON lurking about.
* Add 'build-mode' field for chunks in a stratumSam Thursfield2013-03-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge branch 'jjardon/python_compatibility_fixes' of ↵Richard Maw2013-01-211-4/+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-3/+0
|/ | | | | As we use ordererdict for python < 2.7 as well See 37f8d84d7ab356169bf7c04bdecb39a61b85c88d
* Tidy up command testsSam Thursfield2012-11-141-1/+2
| | | | Be consistent about placement of test description, blank lines, etc.
* Consolidate checks for python versionRichard Maw2012-11-131-5/+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.
* Add 'morph build' test with strata outside the root repoSam Thursfield2012-11-121-0/+62