From 1edbc9f5c08daafb3e13131dfc8df656b2a02edc Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 27 Aug 2014 16:39:53 +0100 Subject: yarns: Use a more realistic simulation of a git server 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. --- yarns/architecture.yarn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yarns/architecture.yarn') 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 -- cgit v1.2.1