summaryrefslogtreecommitdiff
path: root/scripts/test-morph
Commit message (Collapse)AuthorAgeFilesLines
* Use --verbose/-v to show build output, --debug/-d for morph debugJavier Jardón2015-04-221-1/+1
| | | | | | | | | | | Its going to be more likely that a baserock user is more interesed in the build log than actually the debug output from morph. And also the intuitive option would be to use -v for this. --verbose/-v: show build output --debug/-d: show morph debug output Change-Id: I1fb99034dc8680a5f168f6306724663aea33ebc5
* Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-161-3/+2
| | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* Warn and default to null if repo or ref are givenRichard Maw2014-02-131-3/+7
| | | | | | | | | | | | | | | | | | This now means that the system morphology is not altered when chunks are altered, so some tests had to change. Since this uses the python warnings API, these warnings can be ignored by running python -W ignore:"stratum morphology" \ -W ignore:"system morphology" \ "$(which morph)" ...` or turned into errors with python -W error:"stratum morphology" \ -W error:"system morphology" \ "$(which morph)" ...`
* Fix scripts/test-morph to pass min space options alwaysLars Wirzenius2013-06-171-0/+1
| | | | | It was misisng one case, making the test suite fail on computers with suitable amounts of free space in the right filesystem.
* tests: disable the cache and tempdir space checksRichard Maw2013-06-051-1/+2
| | | | | | | | The size checks are irrelevant for most tests, since they tend to produce tiny systems. This still leaves the size checks themselves untested, however doing so is arguably a system-wide test.
* Write metadata for the rootfs itself into the rootfsSam Thursfield2012-10-261-3/+21
| | | | | | | | 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
* Use tarballs instead of bundlesDaniel Silverstone2012-09-251-0/+1
| | | | | | | This makes a non-backward-compatible change to morph which switches it to using tarballs instead of bundles when initialising cached git repositories. This is faster because it doesn't require index-pack --fix-thin operations on the machine running morph.
* Refactor tests/*.script to use scripts/test-morph instead of tests/morphLars Wirzenius2012-03-271-0/+4
|
* Add helper script for cleaning up test outputLars Wirzenius2012-03-231-13/+2
| | | | | | This refactors what scripts/test-morph did into its own helper script, so that we can use it elsehwere. Then use it for scripts/run-git-in too.
* Filter out $DESTDIR from morph outputLars Wirzenius2012-03-221-2/+20
|
* Add helper script for cmdtest scripts to run morph withLars Wirzenius2012-03-221-0/+21
This is like tests/morph, but not in the tests directory, so that it's easier to use from multiple tests directories. We're about to get another one, at least temporarily.