test: Added --keep-failures option.

This commit is contained in:
Joey Hess 2016-01-06 13:44:12 -04:00
parent b96cfdc094
commit d667a68b7e
Failed to extract signature
5 changed files with 54 additions and 22 deletions

View file

@ -10,8 +10,7 @@ git annex test
This runs git-annex's built-in test suite.
The test suite runs in the `.t` subdirectory of the current directory
(it refuses to run if `.t` already exists).
The test suite runs in the `.t` subdirectory of the current directory.
It can be useful to run the test suite on different filesystems,
or to verify your local installation of git-annex.
@ -19,7 +18,12 @@ or to verify your local installation of git-annex.
# OPTIONS
There are several options, provided by Haskell's tasty test
framework. Pass --help for details.
framework. Pass --help for details about those.
* `--keep-failures`
When there are test failures, leave the `.t` directory populated with
repositories that demonstate the failures, for later analysis.
# SEE ALSO

View file

@ -6,6 +6,7 @@ git-annex should use smudge/clean filters.
That pass has many failures.
* Intermittent test suite failures, with:
Exception: failed to commit changes to sqlite database: Just SQLite3 returned ErrorIO while attempting to perform step.
sqlite worker thread crashed: SQLite3 returned ErrorError while attempting to perform step.
* Reconcile staged changes into the associated files database, whenever
the database is queried. This is needed to handle eg:
git add largefile