summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
blob: d4de308e0eb599b305759786c616284bf7ecc297 (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
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