emacs-devel
[Top][All Lists]
Advanced

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

Re: Bytecompiler test fails


From: Eli Zaretskii
Subject: Re: Bytecompiler test fails
Date: Sun, 21 Jun 2015 20:30:46 +0300

> From: Fabrice Popineau <address@hidden>
> Date: Tue, 2 Jun 2015 13:49:20 +0000 (UTC)
> 
> In my--test11:
> c:/Users/Fabrice/AppData/Local/Temp/test-
> bytecomp17448gDb.el:2:83:Warning:
>     macro `my--test11' defined too late
> 
> In my--test12:
> c:/Users/Fabrice/AppData/Local/Temp/test-
> bytecomp17448gDb.el:2:139:Warning:
>     macro `my--test12' defined too late
> Loading c:/Users/Fabrice/AppData/Local/Temp/test-bytecomp17448KSY.elc...
> Test bytecomp-tests--warnings backtrace:
>   (if (unwind-protect (setq value-79227 (apply fn-79225 args-79226)) (
>   (let (form-description-79229) (if (unwind-protect (setq value-79227
>   (let ((value-79227 (quote ert-form-evaluation-aborted-79228))) (let
>   (let ((fn-79225 (function re-search-forward)) (args-79226 (list "my-
>   (save-current-buffer (set-buffer (get-buffer-create "*Compile-Log*")
>   (lambda nil (save-current-buffer (set-buffer (get-buffer-create "*Co
>   ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
>   ert-run-test([cl-struct-ert-test bytecomp-tests--warnings nil (lambd
>   ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test b
>   ert-run-tests(t #[385 "\306\307\"address@hidden
>   ert-run-tests-batch(nil)
>   ert-run-tests-batch-and-exit()
>   command-line-1(("-L" ";../../../emacs/test/automated" "-l" "ert" "-l
>   command-line()
>   normal-top-level()
> Test bytecomp-tests--warnings condition:
>     (ert-test-failed
>      ((should
>        (re-search-forward "my--test11:\n.*macro" nil t))
>       :form
>       (re-search-forward "my--test11:\n.*macro" nil t)
>       :value nil))
>    FAILED   2/10  bytecomp-tests--warnings

Please try again, I think I fixed this.  (The reason was the long name
of temporary-file-directory, something that's typical on MS-Windows,
which caused part of the warning be spilled to the next line, so ".*",
which doesn't match a newline, didn't work.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]