From 8eef287c2a6a72197e31d8c9f815709f1d3618f0 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Thu, 14 May 2015 13:13:36 +0000 Subject: yarns: Add a test for `morph certify` Change-Id: Iee611887c54f8b8b67504ae2ba0cd78be703e455 --- yarns/branches-workspaces.yarn | 13 +++++++++++++ yarns/implementations.yarn | 6 ++++++ 2 files changed, 19 insertions(+) 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 --------------------------------------------------- -- cgit v1.2.1