]> git.notmuchmail.org Git - notmuch/commitdiff
test: declare external dependencies for the tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sun, 27 Nov 2011 18:36:16 +0000 (22:36 +0400)
committerDavid Bremner <bremner@debian.org>
Sun, 27 Nov 2011 19:32:26 +0000 (11:32 -0800)
That are: dtach(1), emacs(1), emacsclient(1), gdb(1) and gpg(1).

test/test-lib.sh

index 99b9e8b8096386484f27fea028e75292a93e1007..fe80e89314e201feea3199a2a7c7b443b3b7d2fc 100644 (file)
@@ -1123,3 +1123,10 @@ test -z "$NO_PYTHON" && test_set_prereq PYTHON
 # test whether the filesystem supports symbolic links
 ln -s x y 2>/dev/null && test -h y 2>/dev/null && test_set_prereq SYMLINKS
 rm -f y
+
+# declare prerequisites for external binaries used in tests
+test_declare_external_prereq dtach
+test_declare_external_prereq emacs
+test_declare_external_prereq emacsclient
+test_declare_external_prereq gdb
+test_declare_external_prereq gpg