summaryrefslogtreecommitdiff
path: root/tests/show-dependencies.script
Commit message (Collapse)AuthorAgeFilesLines
* tests.build: Don't build individual chunks or strataSam Thursfield2013-02-201-2/+2
| | | | | We can't rely on this being possible any more. It was mostly only used for testing in any case.
* Tidy up command testsSam Thursfield2012-11-141-5/+6
| | | | Be consistent about placement of test description, blank lines, etc.
* Don't require .morph in triplet argumentsSam Thursfield2012-09-121-1/+1
| | | | | | | | | This gives us consistency with morphologies, where the triplets are repo|ref|morphology, not repo|ref|filename Anyone who runs 'morph build baserock:morphs master system.morph' will now see an error ending with 'was looking for system.morph.morph', which should make it clear where they have gone wrong.
* Remove debug helper log file specLars Wirzenius2012-05-041-1/+1
|
* Add explicit repo prefixes to test scriptsLars Wirzenius2012-05-041-5/+4
|
* Refactor tests/*.script to use scripts/test-morph instead of tests/morphLars Wirzenius2012-03-271-1/+2
|
* Normalize output of show-dependencies testLars Wirzenius2012-03-231-2/+2
|
* use "set -eu" in scriptsLars Wirzenius2012-03-221-1/+1
| | | | Except in the missing-ref script, since that one breaks with -e.
* Simply calls to morph by using tests/morph wrapperLars Wirzenius2012-03-221-10/+1
|
* Empty and initialize the test data dir anew for each testLars Wirzenius2012-03-221-2/+2
| | | | | | | | | | | | | 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.
* Use /bin/bash for the show-dependencies test script.Jannis Pohlmann2012-01-161-1/+1
|
* Introduce the "show-dependencies" command and BuildDependencyGraph.Jannis Pohlmann2012-01-161-0/+33
The "show-dependencies" command takes a series of build tuples and dumps the resulting dependency graph (including strata and chunks at the moment) to the standard output. It also dumps the resulting build order which is a list of groups. These groups indicate which chunks and strata can be built in parallel and are not dependent on each other.