From 597f2a19363b7e91b928d814627c9236779998fb Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 19 Jun 2014 13:55:30 +0000 Subject: yarns: Adapt to put morphologies in subdirs We want to move our morphologies in our definitions repository into subdirectories, so they're more organised. We'd prefer to only refer to morphologies by file path, rather than a name that loosely corresponds to the file path, but we need to support that for backwards compatibility until we can move all of our morphologies into the definitions repository. However, since we want to eventually remove this, and we want to ensure that file paths work, we change the yarn tests to use file paths. --- yarns/architecture.yarn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'yarns/architecture.yarn') diff --git a/yarns/architecture.yarn b/yarns/architecture.yarn index 679c804b..2240c428 100644 --- a/yarns/architecture.yarn +++ b/yarns/architecture.yarn @@ -4,9 +4,9 @@ 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 for the test architecture in the 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 in branch 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?" @@ -17,6 +17,6 @@ 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 for the test architecture in the 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 in branch master of repo test:morphs to the arch testarch + THEN the user cross-bootstraps the system base-system-testarch.morph in branch master of repo test:morphs to the arch testarch -- cgit v1.2.1