summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/architecture.yarn')
-rw-r--r--yarns/architecture.yarn36
1 files changed, 36 insertions, 0 deletions
diff --git a/yarns/architecture.yarn b/yarns/architecture.yarn
new file mode 100644
index 00000000..07274ec3
--- /dev/null
+++ b/yarns/architecture.yarn
@@ -0,0 +1,36 @@
+Morph Cross-Building Tests
+==========================
+
+ SCENARIO building a system for a different architecture
+ GIVEN a workspace
+ AND a git server
+ AND a system called base-system-testarch.morph for the test architecture in the git server
+ WHEN the user checks out the system branch called master
+ AND the user attempts to build the system base-system-testarch.morph in branch master
+ THEN morph failed
+ 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-bootstraping a system for a different architecture
+ GIVEN a workspace
+ AND a git server
+ AND a system called base-system-testarch.morph for the test architecture in the git server
+ WHEN the user checks out the system branch called master
+ THEN the user cross-bootstraps the system base-system-testarch.morph in branch master of repo test:morphs to the arch testarch
+ FINALLY the git server is shut down
+
+Architecture validation Tests
+=============================
+
+ SCENARIO building a system with no architecture
+ GIVEN a workspace
+ AND a git server
+ AND a system called base-system-noarch.morph with no architecture in the git server
+ WHEN the user checks out the system branch called master
+ AND the user attempts to build the system base-system-testarch.morph in branch master
+ THEN morph failed
+ FINALLY the git server is shut down