From d2bdb6fe3db5e0c44ce5c7c2474f15a06f9d5ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 13 Jul 2022 12:17:34 +0200 Subject: [PATCH] Update the .dir-locals.el for libtest The tests/libtest directory is missing from the .dir-locals.el, so the emacs flycheck would not work for the unit tests. Add it to the configuration. (cherry picked from commit 80fbd849d57c41a3c06f384512645ee1eced72ae) --- .dir-locals.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.dir-locals.el b/.dir-locals.el index 1871abc8cb..bad3fddb04 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -49,6 +49,10 @@ (expand-file-name (concat directory-of-current-dir-locals-file "lib/bind9/include")) + ;; libtest + (expand-file-name + (concat directory-of-current-dir-locals-file "tests/include")) + ;; bin (expand-file-name (concat directory-of-current-dir-locals-file "bin/check"))