From d91e1a5701860b39ccf7fb081a48d90c450ab283 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 18 Apr 2021 21:43:17 +0200 Subject: [PATCH] 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. --- test/lisp/progmodes/project-tests.el | 1 + 1 file changed, 1 insertion(+) 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))) -- 2.39.2