| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Make sure that this directory is actually created before trying
to save artifacts to it. Also adjust all tests to use this new
directory for looking up artifacts.
|
| |
|
|
|
|
| |
Except in the missing-ref script, since that one breaks with -e.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
|
|
|
| |
We can't assume the host has distcc installed while running the checks.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|