From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bytecompiler test fails Date: Sun, 21 Jun 2015 20:30:46 +0300 Message-ID: <83fv5lhsu1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434907893 21735 80.91.229.3 (21 Jun 2015 17:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Jun 2015 17:31:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 21 19:31:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z6j5U-0004iq-VS for ged-emacs-devel@m.gmane.org; Sun, 21 Jun 2015 19:31:21 +0200 Original-Received: from localhost ([::1]:36861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6j5U-0006km-89 for ged-emacs-devel@m.gmane.org; Sun, 21 Jun 2015 13:31:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6j5H-0006jq-4L for emacs-devel@gnu.org; Sun, 21 Jun 2015 13:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6j5C-0005rA-3E for emacs-devel@gnu.org; Sun, 21 Jun 2015 13:31:07 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:60385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6j5B-0005qb-OQ for emacs-devel@gnu.org; Sun, 21 Jun 2015 13:31:01 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQB0080017R4F00@mtaout25.012.net.il> for emacs-devel@gnu.org; Sun, 21 Jun 2015 20:26:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQB004EB1SF2260@mtaout25.012.net.il>; Sun, 21 Jun 2015 20:26:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187346 Archived-At: > From: Fabrice Popineau > 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\"\203G\211\211G\310U\203\211@\20 > 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.)