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: PATH_SEPARATOR in test/automated/Makefile.in Date: Wed, 27 Nov 2013 20:33:01 +0200 Message-ID: <834n6xae5e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1385577205 20063 80.91.229.3 (27 Nov 2013 18:33:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2013 18:33:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 27 19:33:31 2013 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 1VljvU-0003ww-JX for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2013 19:33:28 +0100 Original-Received: from localhost ([::1]:37269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VljvU-0007pL-5l for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2013 13:33:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VljvL-0007o5-WA for emacs-devel@gnu.org; Wed, 27 Nov 2013 13:33:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VljvG-0004Vs-13 for emacs-devel@gnu.org; Wed, 27 Nov 2013 13:33:19 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VljvF-0004Vg-PJ; Wed, 27 Nov 2013 13:33:13 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MWX00L00Q24KZ00@a-mtaout22.012.net.il>; Wed, 27 Nov 2013 20:33:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWX00LTYQ74HE30@a-mtaout22.012.net.il>; Wed, 27 Nov 2013 20:33:04 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:165810 Archived-At: This stuff is not working, and as a consequence the test suite currently fails on MS-Windows with werdo error messages about failure to load Lisp files. The problem is that (a) @PATH_SEPARATOR@ is replaced with ':' (of course: what else did you think MSYS Bash will use?), and (b) the automatic replacement of ":." with ";." doesn't happen either, because evidently the MSYS heuristics doesn't consider "." something that cannot be anything but a file name, so it plays safe and leaves it alone (":./" does work). So the possibilities as I see them are: . Remove PATH_SEPARATOR and use -L "$(PATH_SEPARATOR)$(srcdir)/" (with a slash) instead of -L "$(PATH_SEPARATOR)$(srcdir)" . Leave PATH_SEPARATOR, but set it to ';' "manually" for MinGW, instead of relying on $PATH_SEPARATOR computed in configure by asking Bash. Meanwhile, to run the test suite on Windows, say make PATH_SEPARATOR=';'