1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-05 16:55:56 +02:00

gnu: emacs-ert-selector: Minor improvements.

* gnu/packages/emacs.scm (emacs-ert-selector): Surround test names with
beginning of line and end of line regex characters as emacs expects a regex.
Sort the list of tests so that rearranging the excluded tests does not result
in a rebuild.

Change-Id: I7002fa48122d8409f383f85f515a1a6ac9cdd957
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Morgan Smith
2026-02-17 11:07:00 -05:00
committed by Liliana Marie Prikler
parent 744247a0fe
commit 216597cf78
+3 -2
View File
@@ -118,8 +118,9 @@
(string-join
(map
(lambda (test)
(string-append "\\\"" test "\\\""))
excluded-tests))
;; This is a regex
(string-append "\\\"^" test "\\$\\\""))
(sort excluded-tests string<?)))
"))"))
(define %selector