[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863216: ITP: emacs-ivy -- a generic completion frontend for Emacs



Hello Nicholas,

On Sun, May 28, 2017 at 02:27:04PM -0400, Nicholas D Steeves wrote:
> Test colir-color-parse condition:
>     (void-function colir-color-parse)
>    FAILED   1/16  colir-color-parse
> ...
> dh_elpa_test: emacs -batch -Q -l package --eval (add-to-list
> 'package-directory-list "/usr/share/emacs/site-lisp/elpa") --eval
> (add-to-list 'package-directory-list
> "/usr/share/emacs/site-lisp/elpa-src") -f package-initialize -L . -l
> ivy-test.el --eval (ert-run-tests-batch-and-exit) returned exit code 1
> debian/rules:4: recipe for target 'build' failed make: *** [build]
> Error 2 dpkg-buildpackage: error: debian/rules build gave error exit
> status 2
> 
> The test in question is around L210 of ivy-test.el.  If I manually
> load-file colir.el and eval-expression (colir-color-parse "#ab1234")
> with emacs25, it returns the correct triplet as a list, so I'm not
> sure where the problem is or how to proceed.  Commenting out
> autopkgtest-pkg-elpa in d/control doesn't seem to help.  Any advice
> for debugging this with greater verbosity, since my
> ignorance/inexperience is preventing further progress on this ITP?
> Not installing ivy-test.el seems sloppy...

I think it's just a missing (require 'colir) at the top of ivy-test.el.
You could patch it in, or since upstream might not be willing to merge
such a patch, use in d/elpa-test:

    ert_eval = (load-file "colir.el")

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: