From 82a27da0157ce3fc78ab917b6d9d26486ed7bb8c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 6 Jan 2016 13:44:12 -0400 Subject: test: Added --keep-failures option. --- doc/git-annex-test.mdwn | 10 +++++++--- doc/todo/smudge.mdwn | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/git-annex-test.mdwn b/doc/git-annex-test.mdwn index b38084028..773f7404e 100644 --- a/doc/git-annex-test.mdwn +++ b/doc/git-annex-test.mdwn @@ -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 diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn index 215573363..36561ca7f 100644 --- a/doc/todo/smudge.mdwn +++ b/doc/todo/smudge.mdwn @@ -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 -- cgit v1.2.3