summaryrefslogtreecommitdiff
path: root/yarns/architecture.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-27 16:39:53 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-28 13:48:26 +0100
commit1edbc9f5c08daafb3e13131dfc8df656b2a02edc (patch)
tree5ea1ba505bb50ee616567f74551aadb2b51fa0d3 /yarns/architecture.yarn
parent8c31c741a0d4341a536c7bf612a95b136795c8a2 (diff)
downloadmorph-1edbc9f5c08daafb3e13131dfc8df656b2a02edc.tar.gz
yarns: Use a more realistic simulation of a git serverbaserock/richardmaw/yarn-git-daemon
Previously we would use file: URIs to point to the git repositories. This was fast and simple, but had the drawback that it bypassed all the git cache logic, so changes to the git cache weren't adequately covered by the test suite. Now we spool up a simulated git server per scenario, and shut it down at the end.
Diffstat (limited to 'yarns/architecture.yarn')
-rw-r--r--yarns/architecture.yarn2
1 files changed, 2 insertions, 0 deletions
diff --git a/yarns/architecture.yarn b/yarns/architecture.yarn
index 2240c428..d4de308e 100644
--- a/yarns/architecture.yarn
+++ b/yarns/architecture.yarn
@@ -9,6 +9,7 @@ Morph Cross-Building Tests
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
@@ -20,3 +21,4 @@ Morph Cross-Bootstrap Tests
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