From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Viper tests failure? Date: Tue, 21 Jun 2016 15:27:28 +0100 Message-ID: <874m8mvcq7.fsf@russet.org.uk> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466519278 26322 80.91.229.3 (21 Jun 2016 14:27:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 14:27:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 16:27:49 2016 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 1bFMeY-0001td-R7 for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2016 16:27:46 +0200 Original-Received: from localhost ([::1]:52281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMeY-0001TI-27 for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2016 10:27:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMeP-0001PV-Qb for emacs-devel@gnu.org; Tue, 21 Jun 2016 10:27:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFMeL-0001lx-BJ for emacs-devel@gnu.org; Tue, 21 Jun 2016 10:27:36 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:46941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMeL-0001lr-2B for emacs-devel@gnu.org; Tue, 21 Jun 2016 10:27:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=/M1IUaQ4gPpTgH/Z/sfKlckaDlMV2GYAg/GipxtROPg=; b=rBlBkxEmAIs8TFpwNty/ZiOjzp rcqTCKOIqnQfSKB/jTY46yod/LwnGqR/1cTCpR5RW9mhqvRdrARyWIhUFEX7UzQfal/WRdTf/q1vy M6QRCHoDA+6CxribQCADfWE06jY2AWckt8FhspKpChQysI4bLGockJvVANgqzQfIoo52ZKC7MPJgn CSw7bxNPI5uD0u3svSMMEGHtMRbvYpFrNEWvVxpg3S3m852XFmYYfxTddt7XcJUcbRXpAyO4WfZiD 6Mw01f7si9QekaULjyUzkaSAxLGfoxddLgd0uQcRnSm8mRwiu89R9K6jtMOIpXk4he8ioPAoxhAuh YM/WVJwg==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:33838 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bFMeJ-002avw-0P; Tue, 21 Jun 2016 15:27:31 +0100 In-Reply-To: (Fabrice Popineau's message of "Tue, 21 Jun 2016 05:05:01 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204638 Archived-At: Fabrice Popineau writes: > Hi, > > With emacs-25 commit e5e886d12f3eff3102916c82a5aa82e0db714579 > Emacs compiled using Mingw64 I get a strange error > running `make check': > > $ src/emacs --batch -Q -l ../emacs/test/automated/viper-tests.el --eval '(ert- > run-tests-batch t)' > Running 6 tests (2016-06-21 07:01:58+0200) > Loading viper... > Test viper-test-fix backtrace: > byte-code(\204'\306\307\310!CB\301 CB\302\nCB\303 > CB\311\307\311! > load("viper") > load-library("viper") > viper-mode() > (progn (viper-mode) (switch-to-buffer (get-buffer-create "*viper-tes > (unwind-protect (progn (viper-mode) (switch-to-buffer (get-buffer-cr > (let ((noninteractive nil) (viper-inhibit-startup-message (quote t)) > viper-test-undo-kmacro([]) > apply(viper-test-undo-kmacro []) > (setq value-4 (apply fn-2 args-3)) > (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-descri > (if (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de > (let (form-description-6) (if (unwind-protect (setq value-4 (apply f > (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-de > (let ((fn-2 (function viper-test-undo-kmacro)) (args-3 (list []))) ( > (lambda nil (let ((fn-2 (function viper-test-undo-kmacro)) (args-3 ( > ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > ert-run-test([cl-struct-ert-test viper-test-fix "Test that the viper > ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test v > ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20 > ert-run-tests-batch(t) > eval((ert-run-tests-batch t)) > command-line-1(("-l" "../emacs/test/automated/viper-tests.el" "--eva > command-line() > normal-top-level() > Test viper-test-fix condition: > (file-error "Opening stdio stream" "No such file or directory" > "c:/Users/Fabrice/AppData/Local/Temp/viper-tests21052GpM") > FAILED 1/6 viper-test-fix > > I'm not sure what is happening there. > I checked the temp file is created and does exist, so why is there > a failure to open it? > > Regards, > > Fabrice The file is only created to be empty (viper loads the custom-file whatever I do, so making an empty one seemed the only way to disable it. I've checked and the error comes from the viper-load-custom-file function which is calle during load. The file exists according to emacs, but it cannot be loaded. Not sure what to test next. Phil