summaryrefslogtreecommitdiff
path: root/tests.branching/setup
diff options
context:
space:
mode:
Diffstat (limited to 'tests.branching/setup')
-rwxr-xr-xtests.branching/setup11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests.branching/setup b/tests.branching/setup
index 59979ca8..8e82f32c 100755
--- a/tests.branching/setup
+++ b/tests.branching/setup
@@ -46,6 +46,8 @@ mkdir "$DATADIR/morphs"
## Create a link to this repo that has a .git suffix
ln -s "$DATADIR/morphs" "$DATADIR/morphs.git"
+echo 'version: 6' > "$DATADIR/morphs/VERSION"
+
cat <<EOF > "$DATADIR/morphs/hello-system.morph"
name: hello-system
kind: system
@@ -63,8 +65,10 @@ chunks:
ref: master
build-depends: []
build-mode: bootstrap
+ build-system: manual
EOF
+
scripts/run-git-in "$DATADIR/morphs" init
scripts/run-git-in "$DATADIR/morphs" add .
scripts/run-git-in "$DATADIR/morphs" commit -m initial
@@ -77,15 +81,10 @@ scripts/run-git-in "$DATADIR/morphs" add this.is.alfred
scripts/run-git-in "$DATADIR/morphs" commit --quiet -m 'mark as alfred'
scripts/run-git-in "$DATADIR/morphs" checkout master
-
# Create a dummy chunk repository
mkdir "$DATADIR/hello"
-cat <<EOF > "$DATADIR/hello/hello.morph"
-name: hello
-kind: chunk
-build-system: dummy
-EOF
+echo 'Chunk repo is empty' > "$DATADIR"/hello/dummy
scripts/run-git-in "$DATADIR/hello" init
scripts/run-git-in "$DATADIR/hello" add .