summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2013-10-30 15:19:44 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2013-11-01 15:27:10 +0000
commit2d16996377f369c97d35b7b48bdd336c2e8f5a08 (patch)
tree9eb963204bf137e8346b1a88e44d281c1d98adcb /yarns/implementations.yarn
parent0b6516bb591dd51c14993f6e60b0da3197a32054 (diff)
downloadmorph-2d16996377f369c97d35b7b48bdd336c2e8f5a08.tar.gz
Added scenario test for preventing building uncommitted systems
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn10
1 files changed, 10 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 985ab2bc..85149f0a 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -281,6 +281,16 @@ Editing morphologies with `morph edit`.
echo "$MATCH_2" > "$DATADIR/git-branch.wanted"
diff -u "$DATADIR/git-branch.wanted" "$DATADIR/git-branch.actual"
+ IMPLEMENTS WHEN creating an uncommitted system morphology called (\S+) for architecture (\S+) in system branch (\S+)
+ cat << EOF > "$DATADIR/workspace/$MATCH_3/test:morphs/$MATCH_1.morph"
+ arch: $MATCH_2
+ configuration-extensions: []
+ description: A system called $MATCH_1 for architectures $MATCH_2
+ kind: system
+ name: $MATCH_1
+ strata: []
+ EOF
+
Reporting status of checked out repositories:
IMPLEMENTS THEN morph reports no outstanding changes in (\S+)