blob: 07274ec3a21bcab9e81a521460172a54f92e8401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
|