summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
blob: ec5207c2c2bba34fae5849e37ddc0b6ee745f3a8 (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
Morph Cross-Building Tests
==========================

    SCENARIO building 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
    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-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
    FINALLY the git server is shut down

Architecture validation Tests
=============================

    SCENARIO building a system with no architecture
    GIVEN a git server
    AND a system called base-system-noarch.morph with no architecture in the git server
    WHEN the user clones definitions
    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