From 10291efa552fa61f0b8cf6e9cbcbf2988ab8bf9d Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Tue, 19 Mar 2019 18:55:59 +0000 Subject: [PATCH] added suggestion for git-annex-test to do simple sanity checks on external utils before running tests that depend on them --- ...x-test___58___skip_tests_if_external_utils_have_problems.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/todo/git-annex-test___58___skip_tests_if_external_utils_have_problems.mdwn diff --git a/doc/todo/git-annex-test___58___skip_tests_if_external_utils_have_problems.mdwn b/doc/todo/git-annex-test___58___skip_tests_if_external_utils_have_problems.mdwn new file mode 100644 index 0000000000..0e674ce65c --- /dev/null +++ b/doc/todo/git-annex-test___58___skip_tests_if_external_utils_have_problems.mdwn @@ -0,0 +1 @@ +git-annex-test failures sometimes reflect failures not of git-annex but of externals utils on which it relies. E.g. when my installation or configuration of gpg has problems, git-annex test suite fails due to the tests that rely on gpg. (And there doesn't seem to be a simple way to skip tests that match a regexp.) git-annex could avoid that by running some simple sanity checks (beyond just existence) on gpg or other optional dependencies, and skipping tests if these checks fail. E.g. if simple test commands to encrypt/sign a small file with gpg fail, then skip gpg-based tests (and warn the user).