From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#30198: 26.0.91; Fix emacs-module-tests to work with out of tree build directory Date: Fri, 26 Jan 2018 13:58:04 +0000 Message-ID: References: <83shatkjxp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516978738 21273 195.159.176.226 (26 Jan 2018 14:58:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2018 14:58:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (windows-nt) To: 30198@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 26 15:58:54 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef5Sh-0004Bx-AF for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 15:58:39 +0100 Original-Received: from localhost ([::1]:60357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef5Uh-0003C0-Qb for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 10:00:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef5UB-0002o2-H7 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 10:00:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ef5U2-0004lY-7f for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 10:00:11 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ef5U2-0004lP-5F for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 10:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ef5U1-00018B-Rm for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 10:00:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2018 15:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15169787524265 (code B ref -1); Fri, 26 Jan 2018 15:00:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jan 2018 14:59:12 +0000 Original-Received: from localhost ([127.0.0.1]:43861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef5TE-00016j-BV for submit@debbugs.gnu.org; Fri, 26 Jan 2018 09:59:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef5T8-00016O-VL for submit@debbugs.gnu.org; Fri, 26 Jan 2018 09:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ef5T2-0004A0-Rr for submit@debbugs.gnu.org; Fri, 26 Jan 2018 09:59:01 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ef5T2-00049t-Og for submit@debbugs.gnu.org; Fri, 26 Jan 2018 09:59:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef5T1-00026M-Lc for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 09:59:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ef5Sw-00044R-Rq for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 09:58:59 -0500 Original-Received: from [195.159.176.226] (port=38479 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ef5Sw-00043o-KA for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 09:58:54 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ef4UL-0005W8-O3 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 14:56:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Xz9lPyJNi2spnfse9RZIjo/RXpg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:142536 Archived-At: On Fri 26 Jan 2018, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Sun, 21 Jan 2018 18:44:16 +0000 >> >> Currently the emacs module tests fail to build when using an out of tree >> build directory. The following patch moves the location of the module >> library mod-test.{so,dll} from test/data/emacs-module to >> /test/data/emacs-module, as build outputs do not belong in the >> source tree. It also fixes the test module build to find the module header >> at the correct lcoation, namely /src/emacs-module.h. >> >> Tested on Windows with the mingw64-x86_64 toolchain (msys2) for both >> both in-tree and out-of-tree build directories: > > Thanks, pushed to the master branch. > > (Note that your mailer caused the patch fail to apply due to changes > in whitespace.) Thanks. This also applies cleanly (and works) on emacs-26, if you feel that it is not too disruptive for the release branch. AndyM