diff options
| author | Morgan Smith <Morgan.J.Smith@outlook.com> | 2026-02-17 11:07:00 -0500 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-01 17:38:53 +0100 |
| commit | 216597cf78a52e6ea05b0350747cda6e6e331d1f (patch) | |
| tree | 38490d65840c88d294d29fcea58ce592ee247a27 /gnu | |
| parent | 744247a0fe6c23ebda84a2f115bd254711cfbc4e (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 7121fb62153..3aa00b26024 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -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 |
