diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-06 13:53:43 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-06 13:54:48 -0500 |
commit | 4e2dc58367696fcd0b4b0a207406af561ac0859a (patch) | |
tree | 66024387b9e74ddd66668c5260d497779c8e1908 /gnu | |
parent | 221985ce6bd8036ceac3d1973be3dc084f52b1de (diff) | |
download | guix-4e2dc58367696fcd0b4b0a207406af561ac0859a.tar.gz |
gnu: emacs-elpy: Reinstate disabled tests.
* gnu/packages/emacs-xyz.scm (emacs-elpy): [phases]: Delete trailing #t. {disable-problematic-tests}: Remove phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ebd71e1b7b..f4373a0794 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9124,17 +9124,6 @@ indentation guides in Emacs: `(#:include (cons* "^elpy/[^/]+\\.py$" "^snippets\\/" %default-include) #:phases (modify-phases %standard-phases - ;; The following tests fail when building with Emacs 27 (see: - ;; https://github.com/jorgenschaefer/elpy/issues/1812). - (add-after 'unpack 'disable-problematic-tests - (lambda _ - (substitute* "test/elpy-company-backend-test.el" - (("elpy-company-backend-should-add-shell-candidates.*" all) - (string-append all " (skip-unless nil)\n"))) - (substitute* "test/elpy-folding-fold-comments-test.el" - (("elpy-fold-at-point-should-fold-and-unfold-comments.*" all) - (string-append all " (skip-unless nil)\n"))) - #t)) ;; The default environment of the RPC uses Virtualenv to install ;; Python dependencies from PyPI. We don't want/need this in Guix. (add-before 'check 'do-not-use-virtualenv @@ -9142,24 +9131,21 @@ indentation guides in Emacs: (setenv "ELPY_TEST_DONT_USE_VIRTUALENV" "1") (substitute* "elpy-rpc.el" (("defcustom elpy-rpc-virtualenv-path 'default") - "defcustom elpy-rpc-virtualenv-path 'system")) - #t)) + "defcustom elpy-rpc-virtualenv-path 'system")))) (add-before 'check 'build-doc (lambda _ (with-directory-excursion "docs" (invoke "make" "info" "man")) ;; Move .info file at the root so that it can installed by the ;; 'move-doc phase. - (rename-file "docs/_build/texinfo/Elpy.info" "Elpy.info") - #t)) + (rename-file "docs/_build/texinfo/Elpy.info" "Elpy.info"))) (add-after 'build-doc 'install-manpage (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man1 (string-append out "/share/man/man1"))) (mkdir-p man1) (copy-file "docs/_build/man/elpy.1" - (string-append man1 "/elpy.1"))) - #t))) + (string-append man1 "/elpy.1")))))) #:tests? #t #:test-command '("ert-runner"))) (propagated-inputs |