aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-08-29 16:11:59 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2023-01-13 17:03:50 +0000
commit50a741e2f112fdf49a229818aa1242daed9558de (patch)
tree1eb33f07c90383503318f845e3facbc97e7af394 /winsup/testsuite
parent7f4c04755ef84feba6c24b34b539330e5ee2bd4d (diff)
downloadnewlib-50a741e2f112fdf49a229818aa1242daed9558de.zip
newlib-50a741e2f112fdf49a229818aa1242daed9558de.tar.gz
newlib-50a741e2f112fdf49a229818aa1242daed9558de.tar.bz2
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.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r--winsup/testsuite/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/Makefile.am b/winsup/testsuite/Makefile.am
index a7b435c..a2fa348 100644
--- a/winsup/testsuite/Makefile.am
+++ b/winsup/testsuite/Makefile.am
@@ -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#')