From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 7DD6238493C3; Fri, 13 Jan 2023 17:04:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7DD6238493C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673629490; bh=nZAnvV89Chc/EsX+aLrl+wGNm/6HGeCTWILM6JYO29Y=; h=From:To:Subject:Date:From; b=loH51rdu5ePpx5KG2X9urteMhdZlMDP6cVbTmZb7AvA+9jYKKWsrJMFhA/RuclACt cjYOrJcNMW0VnnsjFqOAqsL7fGpF3A3PD4RNO1I9y3EQMAhqLv/AE2J1MV613wkAjp 9AY/73GQcrPIXPIdeKYws9aBpo7QTS6sTA+/tL2A= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon Turney To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: testsuite: automake doesn't define objdir X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 7f4c04755ef84feba6c24b34b539330e5ee2bd4d X-Git-Newrev: 50a741e2f112fdf49a229818aa1242daed9558de Message-Id: <20230113170450.7DD6238493C3@sourceware.org> Date: Fri, 13 Jan 2023 17:04:50 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D50a741e2f11= 2fdf49a229818aa1242daed9558de commit 50a741e2f112fdf49a229818aa1242daed9558de Author: Jon Turney Date: Mon Aug 29 16:11:59 2022 +0100 Cygwin: testsuite: automake doesn't define objdir =20 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 =3D -v RUNTESTFLAGS =3D $(RUNTESTFLAGS_$(V)) =20 # a temporary directory, to be used for files created by tests -tmpdir =3D $(abspath $(objdir)/testsuite/tmp/) +tmpdir =3D $(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 =3D $(shell cygpath -ma $(tmpdir) | sed -e 's#^\([A-Z]\):#/= cygdrive/\L\1#')