summaryrefslogtreecommitdiff
path: root/yarns/building.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/building.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/building.yarn')
-rw-r--r--yarns/building.yarn1
1 files changed, 1 insertions, 0 deletions
diff --git a/yarns/building.yarn b/yarns/building.yarn
index 6b90ce64..c708b5bb 100644
--- a/yarns/building.yarn
+++ b/yarns/building.yarn
@@ -7,3 +7,4 @@ Morph Building Tests
WHEN the user checks out the system branch called master
AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
THEN morph build the system systems/base-system.morph of the branch master
+ FINALLY the git server is shut down