aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2013-11-28 19:35:13 +0200
committerEli Zaretskii2013-11-28 19:35:13 +0200
commitf7ec0d94d08bdd035ae710e338fd0839595b0087 (patch)
treedc1106aec543b180691bac391a59428cfb700d2b
parent23293cb07ae8b48ae9159142dfcb5e7a51bc422a (diff)
downloademacs-f7ec0d94d08bdd035ae710e338fd0839595b0087.tar.gz
emacs-f7ec0d94d08bdd035ae710e338fd0839595b0087.zip
Fix the test suite on Windows.
configure.ac (PATH_SEP): Set and AC_SUBST. test/automated/Makefile.in (PATH_SEP): Set this instead of PATH_SEPARATOR. (EMACSOPT): Use $(PATH_SEP).
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac16
-rw-r--r--test/ChangeLog6
-rw-r--r--test/automated/Makefile.in4
4 files changed, 28 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 278c77faf87..092f7e58128 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12013-11-28 Eli Zaretskii <eliz@gnu.org>
2
3 * configure.ac (PATH_SEP): Set and AC_SUBST.
4
12013-11-27 Paul Eggert <eggert@cs.ucla.edu> 52013-11-27 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Merge from gnulib, incorporating: 7 Merge from gnulib, incorporating:
diff --git a/configure.ac b/configure.ac
index 48343eb0433..88611b88778 100644
--- a/configure.ac
+++ b/configure.ac
@@ -923,6 +923,22 @@ if test "$opsys" = "mingw32"; then
923 LN_S="ln" 923 LN_S="ln"
924fi 924fi
925 925
926dnl This is for MinGW, and is used in test/automated/Makefile.in.
927dnl The MSYS Bash has heuristics for replacing ':' with ';' when it
928dnl decides that a command-line argument to be passed to a MinGW program
929dnl is a PATH-style list of directories. But that heuristics plays it
930dnl safe, and only does the replacement when it is _absolutely_ sure it
931dnl sees a colon-seperated list of file names; e.g. ":." is left alone,
932dnl which breaks in-tree builds. So we do this manually instead.
933dnl Note that we cannot rely on PATH_SEPARATOR, as that one will always
934dnl be computed as ':' in MSYS Bash.
935if test "$opsys" = "mingw32"; then
936 PATH_SEP=';'
937else
938 PATH_SEP=':'
939fi
940AC_SUBST(PATH_SEP)
941
926AC_PATH_PROG(INSTALL_INFO, install-info, :, 942AC_PATH_PROG(INSTALL_INFO, install-info, :,
927 $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin) 943 $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
928dnl Don't use GZIP, which is used by gzip for additional parameters. 944dnl Don't use GZIP, which is used by gzip for additional parameters.
diff --git a/test/ChangeLog b/test/ChangeLog
index fd54464528a..4455cf03797 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
12013-11-28 Eli Zaretskii <eliz@gnu.org>
2
3 * automated/Makefile.in (PATH_SEP): Set this instead of
4 PATH_SEPARATOR.
5 (EMACSOPT): Use $(PATH_SEP).
6
12013-11-28 Michael Albinus <michael.albinus@gmx.de> 72013-11-28 Michael Albinus <michael.albinus@gmx.de>
2 8
3 * automated/file-notify-tests.el (auto-revert-stop-on-user-input): 9 * automated/file-notify-tests.el (auto-revert-stop-on-user-input):
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in
index d187fa607b2..fa2fddfea80 100644
--- a/test/automated/Makefile.in
+++ b/test/automated/Makefile.in
@@ -22,7 +22,7 @@ SHELL = @SHELL@
22srcdir = @srcdir@ 22srcdir = @srcdir@
23VPATH = $(srcdir) 23VPATH = $(srcdir)
24 24
25PATH_SEPARATOR = @PATH_SEPARATOR@ 25PATH_SEP = @PATH_SEP@
26 26
27# Empty for all systems except MinGW, where xargs needs an explicit 27# Empty for all systems except MinGW, where xargs needs an explicit
28# limitation. 28# limitation.
@@ -36,7 +36,7 @@ EMACS = ../../src/emacs
36# Command line flags for Emacs. 36# Command line flags for Emacs.
37# Apparently MSYS bash would convert "-L :" to "-L ;" anyway, 37# Apparently MSYS bash would convert "-L :" to "-L ;" anyway,
38# but we might as well be explicit. 38# but we might as well be explicit.
39EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(PATH_SEPARATOR)$(srcdir)" 39EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(PATH_SEP)$(srcdir)"
40 40
41# Extra flags to pass to the byte compiler. 41# Extra flags to pass to the byte compiler.
42BYTE_COMPILE_EXTRA_FLAGS = 42BYTE_COMPILE_EXTRA_FLAGS =