diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-31 12:20:11 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-20 16:51:14 +0000 |
commit | 2ce8a926e858c06f76c7875dbd28616613f541dc (patch) | |
tree | 2259eb73e429229acfba61b933fe2911ecc6ddb2 /tests.build/morphless-chunks.script | |
parent | 8d9a939630bc677c2d2e7c4202a400f9bc0ab3ad (diff) | |
download | morph-2ce8a926e858c06f76c7875dbd28616613f541dc.tar.gz |
tests.build: Don't build individual chunks or strata
We can't rely on this being possible any more. It was mostly only used
for testing in any case.
Diffstat (limited to 'tests.build/morphless-chunks.script')
-rwxr-xr-x | tests.build/morphless-chunks.script | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/tests.build/morphless-chunks.script b/tests.build/morphless-chunks.script index b5b8f37e..c9294c3e 100755 --- a/tests.build/morphless-chunks.script +++ b/tests.build/morphless-chunks.script @@ -20,10 +20,10 @@ set -eu -# Create an auto-detectable chunk. +# Make 'hello' chunk into an auto-detectable chunk. -mkdir "$DATADIR/morphless" -cd "$DATADIR/morphless" +cd "$DATADIR/chunk-repo" +git checkout -q farrokh touch configure chmod +x configure @@ -34,34 +34,13 @@ cat << EOF > Makefile all install: EOF -git init --quiet -git add * -git commit --quiet -m initial +git rm -q hello.morph +git add Makefile configure +git commit -q -m "Convert hello into an autodetectable chunk" -# Create a stratum that refers to the morphless chunk. - -mkdir "$DATADIR/stratum" -cd "$DATADIR/stratum" -cat << EOF > alfred.morph -{ - "name": "alfred", - "kind": "stratum", - "chunks": [ - { - "name": "morphless", - "repo": "test:morphless", - "ref": "master", - "build-depends": [] - } - ] -} -EOF -git init --quiet -git add alfred.morph -git commit --quiet -m initial - -"$SRCDIR/scripts/test-morph" build-morphology test:stratum master alfred +"$SRCDIR/scripts/test-morph" build-morphology \ + test:morphs-repo master hello-system for chunk in "$DATADIR/cache/artifacts/"*.chunk.* do |