diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-14 13:13:36 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-05-20 14:03:27 +0000 |
commit | 8eef287c2a6a72197e31d8c9f815709f1d3618f0 (patch) | |
tree | 3736071465e706dbdb554c6900a518c4d3414830 /yarns | |
parent | 4dcc23bc30429fbc60625c004b701b9105c70b95 (diff) | |
download | morph-8eef287c2a6a72197e31d8c9f815709f1d3618f0.tar.gz |
yarns: Add a test for `morph certify`
Change-Id: Iee611887c54f8b8b67504ae2ba0cd78be703e455
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/branches-workspaces.yarn | 13 | ||||
-rw-r--r-- | yarns/implementations.yarn | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn index 492bd102..8bbf7d50 100644 --- a/yarns/branches-workspaces.yarn +++ b/yarns/branches-workspaces.yarn @@ -644,3 +644,16 @@ Definition diffing IMPLEMENTS WHEN the user requests a definition diff on all systems on branches (\S+) and (\S+) in system branch (\S+) repo="$DATADIR/workspace/$MATCH_3/test/morphs" attempt_morph diff "$repo" "$MATCH_1" - "$repo" "$MATCH_2" - + +Certify +------- + +`morph certify` can be used to get an indication whether or not building +a system is likely to have a reproducible result. + + SCENARIO using morph certify + GIVEN a git server + + WHEN the user certifies the system systems/test-system.morph at ref HEAD in repository test:morphs + THEN morph succeeded + AND morph output Reproducibility certification PASSED diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 3e076f59..688203cf 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -739,6 +739,12 @@ Generating a manifest. cd "$DATADIR/workspace/$MATCH_1/test/morphs" git commit -a --allow-empty -m 'Commit all changes' +Implementations for `morph certify` +----------------------------------- + + IMPLEMENTS WHEN the user certifies the system (\S+) at ref (\S+) in repository (\S+) + attempt_morph certify "$MATCH_3" "$MATCH_2" "$MATCH_1" + Implementations for temporary build branch handling --------------------------------------------------- |