From 0111a863583bd958555aa7be79f983fe26f0865c Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 20 Jan 2015 15:02:21 +0000 Subject: yarns: Modify existing test to use the new cross-bootstrap command --- yarns/architecture.yarn | 3 ++- yarns/implementations.yarn | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/yarns/architecture.yarn b/yarns/architecture.yarn index 5b942283..a6cd51d9 100644 --- a/yarns/architecture.yarn +++ b/yarns/architecture.yarn @@ -15,12 +15,13 @@ Morph Cross-Building Tests Morph Cross-Bootstrap Tests =========================== - SCENARIO cross-bootstraping a system for a different architecture + SCENARIO cross-bootstraping and cross-bootstrap-morphology a system for a different architecture GIVEN a workspace AND a 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-bootstrap-morphology the system base-system-testarch.morph 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 to the arch testarch FINALLY the git server is shut down Architecture validation Tests diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 7e5117fa..723eca54 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -716,6 +716,11 @@ Implementation sections for cross-bootstraping set -- cross-bootstrap-morphology "$MATCH_4" "$MATCH_3" "$MATCH_2" "$MATCH_1" run_morph "$@" + IMPLEMENTS THEN the user cross-bootstraps the system (\S+) in branch (\S+) to the arch (\S+) + cd "$DATADIR/workspace/$MATCH_2" + set -- cross-bootstrap "$MATCH_3" "$MATCH_1" + run_morph "$@" + Implementation sections for deployment ====================================== -- cgit v1.2.1