public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: testsuite: automake doesn't define objdir
@ 2023-01-13 17:04 Jon Turney
  0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2023-01-13 17:04 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=50a741e2f112fdf49a229818aa1242daed9558de

commit 50a741e2f112fdf49a229818aa1242daed9558de
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Mon Aug 29 16:11:59 2022 +0100

    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.

Diff:
---
 winsup/testsuite/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/testsuite/Makefile.am b/winsup/testsuite/Makefile.am
index a7b435c46..a2fa34811 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#')

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-13 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 17:04 [newlib-cygwin] Cygwin: testsuite: automake doesn't define objdir Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).