From fd6e7adca086e86657efdcd0a10cb1d2b3c8ad1e Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 24 Sep 2014 16:55:06 +0000 Subject: Remove unused cmdtests tests.deploy is gone since we have yarn coverage instead. tests/setup had unnecessary setup in it, since the remaining tests require custom setup anyway. A bunch of tests were disabled anyway, so they're gone. Also, there was still code in ./check to run tests.merging, which have been gone for a while. --- tests/setup | 74 ------------------------------------------------------------- 1 file changed, 74 deletions(-) (limited to 'tests') diff --git a/tests/setup b/tests/setup index 02ddb3af..6ebab880 100755 --- a/tests/setup +++ b/tests/setup @@ -31,80 +31,6 @@ set -eu # The $DATADIR should be empty at the beginnig of each test. find "$DATADIR" -mindepth 1 -delete -# Create chunk repository. - -chunkrepo="$DATADIR/chunk-repo" -mkdir "$chunkrepo" -cd "$chunkrepo" -git init --quiet - -cat < README -This is a sample README. -EOF -git add README -git commit --quiet -m "add README" - -git checkout --quiet -b farrokh - -cat < hello.c -#include -int main(void) -{ - puts("hello, world"); - return 0; -} -EOF -git add hello.c - -cat < hello.morph -name: hello -kind: chunk -build-system: dummy -build-commands: - - gcc -o hello hello.c -install-commands: - - install -d "\$DESTDIR/etc" - - install -d "\$DESTDIR/bin" - - install hello "\$DESTDIR/bin/hello" -EOF -git add hello.morph - -git commit --quiet -m "add a hello world program and morph" - -git checkout --quiet master - - - -# Create morph repository. - -morphsrepo="$DATADIR/morphs-repo" -mkdir "$morphsrepo" -cd "$morphsrepo" -git init --quiet - -cat < hello-stratum.morph -name: hello-stratum -kind: stratum -chunks: - - name: hello - repo: test:chunk-repo - ref: farrokh - build-mode: test - build-depends: [] -EOF -git add hello-stratum.morph - -cat < hello-system.morph -name: hello-system -kind: system -strata: - - morph: hello-stratum -EOF -git add hello-system.morph - -git commit --quiet -m "add morphs" - - # Create a morph configuration file. cat < "$DATADIR/morph.conf" [config] -- cgit v1.2.1