summaryrefslogtreecommitdiff
path: root/tests/missing-ref.script
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit repo prefixes to test scriptsLars Wirzenius2012-05-041-1/+2
|
* Refactor tests/*.script to use scripts/test-morph instead of tests/morphLars Wirzenius2012-03-271-7/+2
|
* Simplify how morph gets called by using config fileLars Wirzenius2012-03-221-4/+2
| | | | | Cant' use tests/morph here, because we don't want logging for this test.
* Empty and initialize the test data dir anew for each testLars Wirzenius2012-03-221-3/+3
| | | | | | | | | | | | | 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.
* Make ./check check for long lines (with excptions); fix long linesLars Wirzenius2012-02-271-1/+2
|
* Fix missing-ref.script to return the exit code of morph, not sed.Lars Wirzenius2012-01-191-1/+1
|
* Fix cmdtests for SourceManager changesRob Taylor2012-01-191-5/+6
|
* add method to compute recursive cache idLars Wirzenius2011-12-091-1/+1
| | | | | | | | | | | | | | | The cache id will be used as a prefix in filenames in the cache directory. The new way of computing it includes the cache ids of any components so that if chunk A is included in stratum B, and A changes, the new version of A has a new cache id, which means that when we compute cache id for B, it also changes. This will allow us to easily find out if we need to rebuild B. The test repository is split into two: one for the chunk, one for the stratum and system morphologies. This is so that the rebuild test can modify just the chunk, and does not need to trigger both builds. Signed-off-by: Lars Wirzenius <liw@liw.fi>
* disable distcc for checksLars Wirzenius2011-12-061-1/+1
| | | | We can't assume the host has distcc installed while running the checks.
* create cachedir at startup if it does not existLars Wirzenius2011-12-011-2/+0
| | | | | | | We don't create it if running as root, since that would mean a typo creates a directory in a place that may be awkward. Anyone running builds as root can go create the directory themselves.
* make --git-base-url add a slash to the end, if missingLars Wirzenius2011-12-011-1/+1
|
* add test case for referring to a missing branch in the repoLars Wirzenius2011-12-011-0/+28
Have to make sure it is caught properly.