Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make ./check check for long lines (with excptions); fix long lines | Lars Wirzenius | 2012-02-27 | 2 | -3/+7 |
| | |||||
* | Add missing copyright years to files missing it | Lars Wirzenius | 2012-02-27 | 1 | -1/+1 |
| | |||||
* | Fix overriding of build system commands | Lars Wirzenius | 2012-02-15 | 1 | -0/+1 |
| | | | | | This time, with testing. For a five line method, this was surprisingly tricky to get right. Should sleep properly at night... | ||||
* | Verify distributed-build with local workers works the same as "build". | Jannis Pohlmann | 2012-01-25 | 4 | -0/+85 |
| | | | | | | | This commit adds black box tests for building a single chunk and a stratum with a chunk using as many local workers as morph thinks make sense. The expected stdout of these tests is supposed to be the same as for the build-{chunk,stratum}.script tests. | ||||
* | Port everything to using Treeish objects instead of (repo, ref). | Jannis Pohlmann | 2012-01-20 | 2 | -123/+123 |
| | | | | | | | | | | | This affects pretty much every part of morph, so this might not be fully working and stable yet. This commit also introduces the "update-gits" command that can be used to update all cached repositories from the list of base URLs. The tree walk when resolving the Treeish objects in Builder.get_cache_id() is a bit similar to what we do in BuildDependencyGraph, maybe we can merge that one day. | ||||
* | Actually make show-dependencies.setup create an invariant history | Rob Taylor | 2012-01-19 | 1 | -2/+2 |
| | | | | | tests/show-dependencies.setup was actually creating different histories on machines with different timezones. | ||||
* | Comment tests/show-dependencies.setup | Rob Taylor | 2012-01-19 | 1 | -0/+3 |
| | | | | | | Adds commentary that tests/show-dependencies.setup will now always produce a repository with commit sha1s that are always the same | ||||
* | Make show-dependencies.setup always produce an identical git tree | Rob Taylor | 2012-01-19 | 1 | -1/+12 |
| | | | | | Make sure author, comitter and dates are always the same so sha1s will always be consistent. | ||||
* | Fix coding style, update copyrights, drop unused imports. | Jannis Pohlmann | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | Add support for system images in BuildDependencyGraph and new builder. | Jannis Pohlmann | 2012-01-19 | 1 | -0/+1 |
| | |||||
* | Initial work on integrate the build order work into builder. | Jannis Pohlmann | 2012-01-19 | 1 | -121/+121 |
| | |||||
* | Fix missing-ref.script to return the exit code of morph, not sed. | Lars Wirzenius | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | Fix cmdtests for SourceManager changes | Rob Taylor | 2012-01-19 | 2 | -9/+7 |
| | |||||
* | Use /bin/bash for the show-dependencies test script. | Jannis Pohlmann | 2012-01-16 | 2 | -2/+2 |
| | |||||
* | Introduce the "show-dependencies" command and BuildDependencyGraph. | Jannis Pohlmann | 2012-01-16 | 3 | -0/+479 |
| | | | | | | | | The "show-dependencies" command takes a series of build tuples and dumps the resulting dependency graph (including strata and chunks at the moment) to the standard output. It also dumps the resulting build order which is a list of groups. These groups indicate which chunks and strata can be built in parallel and are not dependent on each other. | ||||
* | remove system image build test | Lars Wirzenius | 2012-01-11 | 2 | -29/+0 |
| | | | | | This test requires real root, and that's not acceptable for these tests. We'll test system image building in other ways, later. | ||||
* | add method to compute recursive cache id | Lars Wirzenius | 2011-12-09 | 7 | -14/+102 |
| | | | | | | | | | | | | | | | The cache id will be used as a prefix in filenames in the cache directory. The new way of computing it includes the cache ids of any components so that if chunk A is included in stratum B, and A changes, the new version of A has a new cache id, which means that when we compute cache id for B, it also changes. This will allow us to easily find out if we need to rebuild B. The test repository is split into two: one for the chunk, one for the stratum and system morphologies. This is so that the rebuild test can modify just the chunk, and does not need to trigger both builds. Signed-off-by: Lars Wirzenius <liw@liw.fi> | ||||
* | if morph fails, dump its log to stderr so user can easily see it | Lars Wirzenius | 2011-12-09 | 3 | -3/+10 |
| | | | | Signed-off-by: Lars Wirzenius <liw@liw.fi> | ||||
* | disable distcc for checks | Lars Wirzenius | 2011-12-06 | 4 | -4/+4 |
| | | | | We can't assume the host has distcc installed while running the checks. | ||||
* | create cachedir at startup if it does not exist | Lars Wirzenius | 2011-12-01 | 4 | -11/+0 |
| | | | | | | | We don't create it if running as root, since that would mean a typo creates a directory in a place that may be awkward. Anyone running builds as root can go create the directory themselves. | ||||
* | make --git-base-url add a slash to the end, if missing | Lars Wirzenius | 2011-12-01 | 4 | -4/+4 |
| | |||||
* | add test case for referring to a missing branch in the repo | Lars Wirzenius | 2011-12-01 | 3 | -0/+33 |
| | | | | Have to make sure it is caught properly. | ||||
* | fix build-system test related changed so tests actually pass | Lars Wirzenius | 2011-12-01 | 4 | -2/+5 |
| | |||||
* | add simple system image build test | Lars Wirzenius | 2011-12-01 | 2 | -0/+42 |
| | |||||
* | add new test case for building a simple stratum | Lars Wirzenius | 2011-12-01 | 2 | -0/+35 |
| | |||||
* | add a stratum morphology to the test git repo | Lars Wirzenius | 2011-12-01 | 1 | -1/+16 |
| | |||||
* | remove old stratum building test | Lars Wirzenius | 2011-12-01 | 2 | -39/+0 |
| | |||||
* | remove old chunk building test case | Lars Wirzenius | 2011-12-01 | 2 | -50/+0 |
| | |||||
* | add test case for building a chunk | Lars Wirzenius | 2011-12-01 | 2 | -0/+41 |
| | |||||
* | remove unnecessary backslashes in the test morphology | Lars Wirzenius | 2011-12-01 | 1 | -2/+2 |
| | | | | Too many levels of escaping confuses tired minds. | ||||
* | add a script to set up the git repository for tests | Lars Wirzenius | 2011-12-01 | 1 | -0/+69 |
| | |||||
* | Fix test case to use new syntax | Lars Wirzenius | 2011-11-14 | 1 | -0/+0 |
| | |||||
* | Clean up the environment | Lars Wirzenius | 2011-11-03 | 2 | -2/+2 |
| | |||||
* | Fix cmdtest tests | Lars Wirzenius | 2011-11-03 | 2 | -0/+13 |
| | |||||
* | Prettify test script output | Lars Wirzenius | 2011-11-03 | 1 | -1/+2 |
| | |||||
* | Output multiple chunks when requested | Lars Wirzenius | 2011-11-03 | 2 | -2/+2 |
| | |||||
* | Add test with split chunks | Lars Wirzenius | 2011-11-03 | 3 | -1/+8 |
| | |||||
* | Fix cmdtest tests to work with current morph usage | Lars Wirzenius | 2011-11-03 | 4 | -3/+4 |
| | |||||
* | Normalize the output from tar for tests. | Lars Wirzenius | 2011-10-18 | 2 | -2/+2 |
| | | | | | | For whatever reasons, when running the tests on Debian squeeze and Debian wheezy, the output differs as to whether the pathnames start with "./" or not. | ||||
* | Use create_stratum and unpack_stratum helper functions. | Lars Wirzenius | 2011-10-17 | 1 | -6/+6 |
| | |||||
* | Use morphlib.bins.create_chunk and unpack_chunk in builder. | Lars Wirzenius | 2011-10-17 | 1 | -6/+6 |
| | |||||
* | Avoid using the user's configs while running tests. | Lars Wirzenius | 2011-10-11 | 2 | -2/+2 |
| | |||||
* | Fix GPL version sentence grammar. | Lars Wirzenius | 2011-10-06 | 2 | -2/+2 |
| | |||||
* | Add description field to morphologies and binary metadata. | Lars Wirzenius | 2011-10-05 | 1 | -0/+0 |
| | |||||
* | Add metadata into binary. | Lars Wirzenius | 2011-10-05 | 2 | -0/+4 |
| | |||||
* | Build strata recursively. | Lars Wirzenius | 2011-09-29 | 1 | -6/+1 |
| | | | | If a chunk is missing, it will be built. | ||||
* | Store blobs in cache directory. | Lars Wirzenius | 2011-09-29 | 2 | -3/+6 |
| | |||||
* | Add --cachedir option for specifying where build results go. | Lars Wirzenius | 2011-09-29 | 2 | -3/+5 |
| | |||||
* | Add "set -e" to test scripts. | Lars Wirzenius | 2011-09-29 | 2 | -0/+4 |
| | |||||
* | Adapt cmdtest tests to chunk morphs no longer having a "source" field. | Lars Wirzenius | 2011-09-29 | 2 | -5/+7 |
| |