summaryrefslogtreecommitdiff
path: root/tests/setup
Commit message (Collapse)AuthorAgeFilesLines
* Strata should be referred to with full repo/ref/morph tripletsSam Thursfield2012-08-301-1/+5
| | | | | | | | This removes the requirement that all strata must be in the same repo as the system morphology. Both the system "strata" field and the stratum "build-depends" field are affected.
* Strata contain "chunks", not "sources"Sam Thursfield2012-08-291-1/+1
| | | | Rename "sources" field of stratum morphologies to "chunks".
* Refactor system building to use syskind specific classLars Wirzenius2012-07-261-1/+1
|
* Require system-kind on system morphologiesLars Wirzenius2012-07-191-0/+1
|
* Add check for missing build depends in strataLars Wirzenius2012-06-281-1/+2
| | | | | | | This will make a build fail if the morphology is missing explicit build dependencies. Also fix test causes so that ./check passes.
* Fix test suite to deal with morph output changesLars Wirzenius2012-06-261-0/+1
| | | | | | | | Also, some bug fixes. Also, when handling a BaseException, log the exception (with traceback) that we're handling, in case there is an error while handling it, because the second error will otherwise mask the first one.
* Fix repo-alias value to use right syntaxLars Wirzenius2012-05-041-1/+1
|
* Make cmdtests set up repo-aliases and use prefixed reponamesLars Wirzenius2012-05-041-2/+2
|
* use "set -eu" in scriptsLars Wirzenius2012-03-221-1/+1
| | | | Except in the missing-ref script, since that one breaks with -e.
* Add helper script to be used from tests to run morphLars Wirzenius2012-03-221-0/+11
| | | | | The helper script makes it easier for the test scripts to invoke morph.
* Empty and initialize the test data dir anew for each testLars Wirzenius2012-03-221-0/+117
This avoids accidentally having tests that depend on each other. It would be bad to have tests/bar.script do something and then tests/foo.script only work because of that something: if tests/bar.script later changes, then the later test starts breaking. Keeping tests independent is good practice. We don't seem to have had such dependencies yet, so this is a pre-emptive defensive move. Also, this means we can use simpler names in $DATADIR, instead of embedding the test name in everything. This further simplifies the act of creating new tests.