Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests failing with GNU Emacs 26.1 #1630

Closed
dogsleg opened this issue Jan 5, 2019 · 1 comment
Closed

tests failing with GNU Emacs 26.1 #1630

dogsleg opened this issue Jan 5, 2019 · 1 comment

Comments

@dogsleg
Copy link

dogsleg commented Jan 5, 2019

Hi,

I've ran make check-ert with repository's HEAD against GNU Emacs 26.1 and got some failures. Please, find the full log attached.

check-ert.log

For more information see Debian bug #916807

@thkoch2001
Copy link

This construct is used in tests/haskell-cabal-tests.el 4 times and causes the test failures:

(file-name-directory 
  (or (symbol-file 'haskell-cabal-get-field-1)
       (buffer-file-name)))

Apparently both symbol-file and buffer-file-name result in nil and cause file-name-directory to complain with "(wrong-type-argument stringp nil)".

Since I need to fix this quickly and only in the context of a debian build and don't know much elisp, I replaced those occurences with

let ((scriptDir (expand-file-name "tests" default-directory)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants