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:
Jon Turney 2022-08-29 16:11:59 +01:00
parent 7f4c04755e
commit 50a741e2f1
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ RUNTESTFLAGS_1 = -v
RUNTESTFLAGS = $(RUNTESTFLAGS_$(V))
# 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
# 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#')