From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#15933: make check not working Date: Wed, 20 Nov 2013 12:55:09 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384952186 17145 80.91.229.3 (20 Nov 2013 12:56:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2013 12:56:26 +0000 (UTC) To: 15933@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 20 13:56:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Vj7KT-0004RC-Bx for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Nov 2013 13:56:25 +0100 Original-Received: from localhost ([::1]:54392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7KS-00047o-Mq for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Nov 2013 07:56:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7KF-0003qD-JQ for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:56:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vj7K7-00052W-MB for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:56:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7K7-00052K-Hw for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vj7K6-0006bM-Mt for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:56:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Nov 2013 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138495215225356 (code B ref -1); Wed, 20 Nov 2013 12:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Nov 2013 12:55:52 +0000 Original-Received: from localhost ([127.0.0.1]:34222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vj7Jv-0006at-Qt for submit@debbugs.gnu.org; Wed, 20 Nov 2013 07:55:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vj7Jr-0006ae-5x for submit@debbugs.gnu.org; Wed, 20 Nov 2013 07:55:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vj7Je-0004sm-Cb for submit@debbugs.gnu.org; Wed, 20 Nov 2013 07:55:41 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:49894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7Je-0004si-91 for submit@debbugs.gnu.org; Wed, 20 Nov 2013 07:55:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7JY-0002qo-8A for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:55:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vj7JS-0004of-7U for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:55:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj7JS-0004ns-0K for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 07:55:22 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vj7JQ-0003q3-A2 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2013 13:55:20 +0100 Original-Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 13:55:20 +0100 Original-Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 13:55:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 61 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) Cancel-Lock: sha1:hAYjvins8V06OrUNHorLCcdbsZw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80786 Archived-At: Hi, Running 'make check' does not work correctly for me with bzr r115157 on Windows with mingw and and out of tree build directory: --[make check]------------------------------------------------------ Compiling ../../../test/automated/package-x-test.el In toplevel form: ../../../test/automated/package-x-test.el:38:30:Error: Cannot open load file: no such file or directory, package-test make[2]: *** [../../../test/automated/package-x-test.elc] Error 1 --[make check]------------------------------------------------------ It seems that the recent changes for relative paths and msys translations have not been added to tests/automated/Makefile.in. The following patch copies the new behaviour from lisp/Makefile.in and allowed the tests to build and run (one test aborts emacs, for other reasons). === modified file 'test/automated/Makefile.in' --- test/automated/Makefile.in 2013-11-06 17:56:48 +0000 +++ test/automated/Makefile.in 2013-11-20 11:49:09 +0000 @@ -20,8 +20,13 @@ SHELL = @SHELL@ srcdir = @srcdir@ +test_automated = $(srcdir) VPATH = $(srcdir) +# Empty for all systems except MinGW, where xargs needs an explicit +# limitation. +XARGS_LIMIT = @XARGS_LIMIT@ + # We never change directory before running Emacs, so a relative file # name is fine, and makes life easier. If we need to change # directory, we can use emacs --chdir. @@ -66,20 +71,20 @@ # Compile all the Elisp files that need it. Beware: it approximates # `no-byte-compile', so watch out for false-positives! compile-main: compile-clean - @$(setwins); \ + @(cd $(test_automated) && $(setwins); \ els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ for el in $$els; do \ test -f $$el || continue; \ test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ echo "$${el}c"; \ - done | xargs echo | \ + done | xargs $(XARGS_LIMIT) echo) | \ while read chunk; do \ $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ done # Erase left-over .elc files that do not have a corresponding .el file. compile-clean: - @$(setwins); \ + @cd $(test_automated) && $(setwins); \ elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \ if test -f "$$el" -o \! -f "$${el}c"; then :; else \