summaryrefslogtreecommitdiff
path: root/tests/missing-ref.script
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-12-08 13:21:55 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-09 11:57:15 +0000
commitc90af8cff7819d40d0fdd14f1ea9c162f7d5d7d2 (patch)
treefeb40429e34701262bf454d12c867cc84e72486c /tests/missing-ref.script
parentc4a6872bcb4cf2c5e9450004579d65b31aaa3741 (diff)
downloadmorph-c90af8cff7819d40d0fdd14f1ea9c162f7d5d7d2.tar.gz
add method to compute recursive cache id
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>
Diffstat (limited to 'tests/missing-ref.script')
-rwxr-xr-xtests/missing-ref.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/missing-ref.script b/tests/missing-ref.script
index 978f50fa..0c4f29f7 100755
--- a/tests/missing-ref.script
+++ b/tests/missing-ref.script
@@ -20,7 +20,7 @@
set -e
cache="$DATADIR/build-chunk-cache"
-./morph --no-default-configs build repo non-existent-branch hello.morph \
+./morph --no-default-configs build chunk-repo non-existent-branch hello.morph \
--git-base-url="file://$DATADIR" \
--cachedir="$cache" --keep-path --no-distcc