summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-11-27 14:21:01 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-12-02 12:19:29 +0000
commit0d24e380ff394782358da99b776a187d402142e9 (patch)
tree895f2fe3efe4c524cd6ed0f65a4ce7c24c0cb267 /yarns/architecture.yarn
parentc8f97d36441ce8e0bd18feba8073f32a2b1c4628 (diff)
downloadmorph-0d24e380ff394782358da99b776a187d402142e9.tar.gz
Convert last cmdtests to yarns
The conversion was made so that the build command was used instead of the build-morphology command. Change-Id: I67c43d765ed603ecdd806bc649815526243b7b87
Diffstat (limited to 'yarns/architecture.yarn')
-rw-r--r--yarns/architecture.yarn21
1 files changed, 12 insertions, 9 deletions
diff --git a/yarns/architecture.yarn b/yarns/architecture.yarn
index ec5207c2..d8b1182c 100644
--- a/yarns/architecture.yarn
+++ b/yarns/architecture.yarn
@@ -1,5 +1,5 @@
-Morph Cross-Building Tests
-==========================
+Morph Architecture Tests
+========================
SCENARIO building a system for a different architecture
GIVEN a git server
@@ -10,19 +10,22 @@ Morph Cross-Building Tests
AND the build error message includes the string "Are you trying to cross-build?"
FINALLY the git server is shut down
-
-Morph Cross-Bootstrap Tests
-===========================
-
SCENARIO cross-bootstrapping a system for a different architecture
GIVEN a git server
AND a system called base-system-testarch.morph for the test architecture in the git server
WHEN the user clones definitions
- THEN the user cross-bootstraps the system base-system-testarch.morph in branch master of repo test:definitions to the arch testarch
+ AND the user attempts to cross-bootstrap the system base-system-testarch.morph in branch master of repo test:definitions to the arch testarch
+ THEN morph succeeded
FINALLY the git server is shut down
-Architecture validation Tests
-=============================
+ SCENARIO cross-bootstrapping a system for an unknown architecture
+ GIVEN a git server
+ AND a system called base-system-testarch.morph for the test architecture in the git server
+ WHEN the user clones definitions
+ AND the user attempts to cross-bootstrap the system base-system-testarch.morph in branch master of repo test:definitions to the arch unknown-archicture
+ THEN morph failed
+ AND the cross-bootstrap error message includes the string "Unsupported architecture "unknown-archicture"
+ FINALLY the git server is shut down
SCENARIO building a system with no architecture
GIVEN a git server