Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build-system: python-distutils, correct output | Richard Maw | 2012-04-23 | 1 | -2/+2 |
| | |||||
* | build-system: distutils test, fix output | Richard Maw | 2012-04-23 | 1 | -0/+1 |
| | | | | | | | Debian systems install python packages into dist-packages, default python behaviour is to install into site-packages. To reconcile this difference, treat any foo-packages component as just being packages. | ||||
* | build-system-cpan.script: fix whitespace | Richard Maw | 2012-04-23 | 1 | -1/+2 |
| | |||||
* | cpan test: fix confusion over archname | Richard Maw | 2012-04-23 | 1 | -4/+1 |
| | | | | | archname may be in the version information twice if perl's configure script was passed -Darchname, so exclude that result | ||||
* | build-system-cpan test: remove redundant mangling | Richard Maw | 2012-04-23 | 1 | -3/+1 |
| | |||||
* | tests: cpan use prefix for simpler output | Richard Maw | 2012-04-23 | 2 | -16/+10 |
| | |||||
* | tests: add test for build-system: cpan | Richard Maw | 2012-04-23 | 2 | -0/+92 |
| | | | | | | This does some horrible output mangling because where you install perl modules depends on how your perl was compiled and its version. This will still probably fail on some machines | ||||
* | Normalize test output for build-system.python-distutils test | Lars Wirzenius | 2012-04-23 | 2 | -5/+8 |
| | | | | | The output otherwise differs between various Linux distros, with differnet distutils settings and Python versions. | ||||
* | tests: add test for python distutils | Richard Maw | 2012-04-23 | 2 | -0/+72 |
| | |||||
* | tests: add test for build-system: autotools | Richard Maw | 2012-04-23 | 2 | -0/+65 |
| | |||||
* | morphless chunks test: fix output | Richard Maw | 2012-04-20 | 2 | -1/+11 |
| | | | | | The test needs to check whether the chunk has the expected contents. It used to mistakenly check if there were any chunks in the git cache. | ||||
* | Add test case for morphless chunks | Lars Wirzenius | 2012-04-19 | 1 | -0/+61 |
| | |||||
* | Fix expected output for test case | Lars Wirzenius | 2012-04-18 | 1 | -1/+1 |
| | | | | The code has changed the error message. | ||||
* | Add _create_source_pool() method and update show-dependencies. | Jannis Pohlmann | 2012-04-17 | 1 | -2/+2 |
| | | | | | | The Morph#_create_source_pool method takes a repo cache and a repo, ref, filename triplet and resolves all the sources involved in a potential build of this triplet. | ||||
* | Re-implement show-dependencies using ArtifactResolver and BuildOrder. | Jannis Pohlmann | 2012-04-16 | 1 | -123/+123 |
| | |||||
* | show-dependencies test: correct the stdout | Richard Maw | 2012-04-11 | 1 | -122/+122 |
| | | | | | | The old form is more verbose, fully qualifying the repository and branch names. This is unnecessary as they should never be ambigous and the new form is much nicer to read. | ||||
* | tests: add tests for update-gits | Richard Maw | 2012-04-10 | 2 | -0/+66 |
| | |||||
* | Refactor tests/*.script to use scripts/test-morph instead of tests/morph | Lars Wirzenius | 2012-03-27 | 10 | -46/+16 |
| | |||||
* | Add rudimentary branch+merge support | Lars Wirzenius | 2012-03-26 | 3 | -125/+125 |
|\ | |||||
| * | Normalize output of show-dependencies test | Lars Wirzenius | 2012-03-23 | 2 | -124/+124 |
| | | |||||
| * | Fix expected output to match current test output | Lars Wirzenius | 2012-03-23 | 1 | -1/+1 |
| | | |||||
* | | Separate tests that need to be run as root in their own directory | Lars Wirzenius | 2012-03-26 | 3 | -105/+0 |
| | | |||||
* | | Add test output of the make-patch test. | Jannis Pohlmann | 2012-03-23 | 2 | -0/+19 |
| | | |||||
* | | make-patch test: fix path to hello binary | Richard Maw | 2012-03-23 | 1 | -1/+1 |
| | | |||||
* | | make-patch test: dummy stratum has dummy boot info | Richard Maw | 2012-03-23 | 1 | -1/+34 |
| | | |||||
* | | fix morph wrapper to not falsely report success | Richard Maw | 2012-03-23 | 1 | -1/+6 |
| | | |||||
* | | tests: add test for patch building | Richard Maw | 2012-03-23 | 1 | -0/+53 |
|/ | |||||
* | use "set -eu" in scripts | Lars Wirzenius | 2012-03-22 | 9 | -9/+9 |
| | | | | Except in the missing-ref script, since that one breaks with -e. | ||||
* | Remove unused variable | Lars Wirzenius | 2012-03-22 | 1 | -1/+0 |
| | |||||
* | Simplify by removing unnecessary variables | Lars Wirzenius | 2012-03-22 | 1 | -4/+1 |
| | |||||
* | Simplify how morph gets called by using config file | Lars Wirzenius | 2012-03-22 | 1 | -4/+2 |
| | | | | | Cant' use tests/morph here, because we don't want logging for this test. | ||||
* | Simply calls to morph by using tests/morph wrapper | Lars Wirzenius | 2012-03-22 | 7 | -64/+13 |
| | |||||
* | Add helper script to be used from tests to run morph | Lars Wirzenius | 2012-03-22 | 2 | -0/+35 |
| | | | | | The helper script makes it easier for the test scripts to invoke morph. | ||||
* | Empty and initialize the test data dir anew for each test | Lars Wirzenius | 2012-03-22 | 9 | -20/+23 |
| | | | | | | | | | | | | | This avoids accidentally having tests that depend on each other. It would be bad to have tests/bar.script do something and then tests/foo.script only work because of that something: if tests/bar.script later changes, then the later test starts breaking. Keeping tests independent is good practice. We don't seem to have had such dependencies yet, so this is a pre-emptive defensive move. Also, this means we can use simpler names in $DATADIR, instead of embedding the test name in everything. This further simplifies the act of creating new tests. | ||||
* | tar: add -h option to extraction | Richard Maw | 2012-03-16 | 1 | -1/+1 |
| | | | | | | This should stop tar from replacing symbolic links with directories and instead follow the symbolic links, extracting the files into the linked directories | ||||
* | tests: name clash better description and no trap | Richard Maw | 2012-03-12 | 1 | -3/+6 |
| | | | | | | | | | | Add a description for what the script is testing, namely whether two chunks in the same repository and branch can be confused for each other. Also unpack in DATADIR so no trap trickery is needed. traps aren't stacked and they aren't fully portable, so avoiding using them has its advantages | ||||
* | give the test script a better name | Richard Maw | 2012-03-08 | 1 | -0/+0 |
| | |||||
* | fix test permissions | Richard Maw | 2012-03-08 | 1 | -0/+0 |
| | |||||
* | tests: add test script for morph name hack | Richard Maw | 2012-03-08 | 1 | -0/+66 |
| | | | | | If two morphs have the same "name" field then one could be built from the command line, which would occupy the same cache space | ||||
* | 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 |
| |