mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
Cygwin: testsuite: automake doesn't define objdir
objdir isn't a predefined output variable in Automake (any more?), so this was just using the absolute path /testsuite as the test's temporary directory. Use builddir instead.
This commit is contained in:
parent
7f4c04755e
commit
50a741e2f1
@ -38,7 +38,7 @@ RUNTESTFLAGS_1 = -v
|
|||||||
RUNTESTFLAGS = $(RUNTESTFLAGS_$(V))
|
RUNTESTFLAGS = $(RUNTESTFLAGS_$(V))
|
||||||
|
|
||||||
# a temporary directory, to be used for files created by tests
|
# a temporary directory, to be used for files created by tests
|
||||||
tmpdir = $(abspath $(objdir)/testsuite/tmp/)
|
tmpdir = $(abspath $(builddir)/tmp/)
|
||||||
# the same temporary directory, as an absolute, /cygdrive path (so it can be
|
# the same temporary directory, as an absolute, /cygdrive path (so it can be
|
||||||
# understood by the test DLL, which will have a different mount table)
|
# understood by the test DLL, which will have a different mount table)
|
||||||
testdll_tmpdir = $(shell cygpath -ma $(tmpdir) | sed -e 's#^\([A-Z]\):#/cygdrive/\L\1#')
|
testdll_tmpdir = $(shell cygpath -ma $(tmpdir) | sed -e 's#^\([A-Z]\):#/cygdrive/\L\1#')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user