mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-racket-mode: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-racket-mode) [arguments]{test-command}: Set it. {phases}: Add phase 'pre-check and skip failing tests. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
82af10e99f
commit
c652706ac5
1 changed files with 12 additions and 1 deletions
|
@ -28988,7 +28988,18 @@ perform regression test for packages that provide font-lock rules.")
|
|||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:include #~(list "\\.el$" "\\.rkt$")))
|
||||
#:include #~(list "\\.el$" "\\.rkt$")
|
||||
#:test-command #~(list "make" "test")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "HOME" (dirname (getcwd)))
|
||||
(substitute* "test/racket-tests.el"
|
||||
(("\\(ert-deftest racket-tests/(repl|run) .*" all)
|
||||
(string-append all "(skip-unless nil)"))))))))
|
||||
(native-inputs
|
||||
(list racket))
|
||||
(propagated-inputs
|
||||
(list emacs-faceup emacs-paredit emacs-pos-tip emacs-s))
|
||||
(home-page "https://www.racket-mode.com/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue