aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron S. Hawley2016-02-27 19:01:24 -0800
committerGlenn Morris2016-02-27 19:01:24 -0800
commitb829c9e15b244e12a98e5dc75c8009d55b60bfab (patch)
tree850999cf0e69a87551c80e9c001e3bc9b8340d56
parentc483d0530a7bc79fab377327e3228681297b1942 (diff)
downloademacs-b829c9e15b244e12a98e5dc75c8009d55b60bfab.tar.gz
emacs-b829c9e15b244e12a98e5dc75c8009d55b60bfab.zip
Don't make assumptions about mkdir. (Bug#22822)
* test/Makefile.in (MKDIR_P): New, set by configure. (%.log): Use MKDIR_P.
-rw-r--r--test/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index b5954dfc519..a5755fd2259 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -33,6 +33,8 @@ SHELL = @SHELL@
33srcdir = @srcdir@ 33srcdir = @srcdir@
34VPATH = $(srcdir) 34VPATH = $(srcdir)
35 35
36MKDIR_P = @MKDIR_P@
37
36SEPCHAR = @SEPCHAR@ 38SEPCHAR = @SEPCHAR@
37 39
38# We never change directory before running Emacs, so a relative file 40# We never change directory before running Emacs, so a relative file
@@ -110,7 +112,7 @@ endif
110 fi; \ 112 fi; \
111 echo Testing $$loadfile; \ 113 echo Testing $$loadfile; \
112 stat=OK ; \ 114 stat=OK ; \
113 mkdir --parents $(dir $@) ; \ 115 ${MKDIR_P} $(dir $@) ; \
114 $(emacs) -l ert -l $$loadfile \ 116 $(emacs) -l ert -l $$loadfile \
115 --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG} 117 --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}
116 118