summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
diff options
context:
space:
mode:
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