diff options
author | Philipp Stephani <phst@google.com> | 2021-04-18 21:43:17 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-04-18 21:59:25 +0200 |
commit | d91e1a5701860b39ccf7fb081a48d90c450ab283 (patch) | |
tree | 579391f18f76950737f8312d347ebccf689bd322 /test/lisp/progmodes/project-tests.el | |
parent | dc9b0dc4616e63fb0e30a4fd79ffc196ebcac73b (diff) | |
download | emacs-d91e1a5701860b39ccf7fb081a48d90c450ab283.tar.gz emacs-d91e1a5701860b39ccf7fb081a48d90c450ab283.tar.bz2 emacs-d91e1a5701860b39ccf7fb081a48d90c450ab283.zip |
Skip a unit test that requires an external program if necessary.
* test/lisp/progmodes/project-tests.el (project/quoted-directory):
Skip if the 'find' program isn't available. The 'project-files'
function uses 'find' to obtain the list of project files.
Diffstat (limited to 'test/lisp/progmodes/project-tests.el')
-rw-r--r-- | test/lisp/progmodes/project-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/progmodes/project-tests.el b/test/lisp/progmodes/project-tests.el index 23e68541b3d..6e71948477c 100644 --- a/test/lisp/progmodes/project-tests.el +++ b/test/lisp/progmodes/project-tests.el @@ -32,6 +32,7 @@ (ert-deftest project/quoted-directory () "Check that `project-files' deals with quoted directory names (Bug#47799)." + (skip-unless (executable-find find-program)) (let ((directory (make-temp-file "project-tests-" :directory))) (unwind-protect (let ((project (cons 'transient (file-name-quote directory))) |