public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon Turney <jturney@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: testsuite: automake doesn't define objdir
Date: Fri, 13 Jan 2023 17:04:50 +0000 (GMT)	[thread overview]
Message-ID: <20230113170450.7DD6238493C3@sourceware.org> (raw)

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#')

                 reply	other threads:[~2023-01-13 17:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230113170450.7DD6238493C3@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).