summaryrefslogtreecommitdiff
path: root/tests/rebuild-cached-stratum.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 18:05:56 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-12 14:13:42 +0100
commit4e37fdf5adbf4d25561b472b4089b6782c599f93 (patch)
tree82182fee7bd6f56a91b392c12dfb5cede7b4455b /tests/rebuild-cached-stratum.script
parent6b63ab3036e869c92b3c5d6471e4856df3583019 (diff)
downloadmorph-4e37fdf5adbf4d25561b472b4089b6782c599f93.tar.gz
Don't require .morph in triplet arguments
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.
Diffstat (limited to 'tests/rebuild-cached-stratum.script')
-rwxr-xr-xtests/rebuild-cached-stratum.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rebuild-cached-stratum.script b/tests/rebuild-cached-stratum.script
index dee08dfb..2615fb30 100755
--- a/tests/rebuild-cached-stratum.script
+++ b/tests/rebuild-cached-stratum.script
@@ -38,7 +38,7 @@ cache="$DATADIR/cache/artifacts"
# Build the first time.
"$SRCDIR/scripts/test-morph" build-morphology \
- test:morphs-repo rebuild-cached-stratum hello-stratum.morph
+ test:morphs-repo rebuild-cached-stratum hello-stratum
echo "first build:"
(cd "$cache" && ls *.chunk.* *hello-stratum | sed 's/^[^.]*\./ /' |
LC_ALL=C sort)
@@ -50,7 +50,7 @@ echo "first build:"
# Rebuild.
"$SRCDIR/scripts/test-morph" build-morphology \
- test:morphs-repo rebuild-cached-stratum hello-stratum.morph
+ test:morphs-repo rebuild-cached-stratum hello-stratum
echo "second build:"
(cd "$cache" && ls *.chunk.* *hello-stratum | sed 's/^[^.]*\./ /' |
LC_ALL=C sort)