summaryrefslogtreecommitdiff
path: root/tests/show-dependencies.script
Commit message (Collapse)AuthorAgeFilesLines
* 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.