From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id D62E0386F47A; Sun, 8 Nov 2020 15:21:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D62E0386F47A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Set PATH for tests to pick up cygwin0.dll X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 0c448d53e10b1ab8f483f704f9ba07bc143fb788 X-Git-Newrev: 9cdb799806e7531a1286d5928e501ae84e74be5f Message-Id: <20201108152148.D62E0386F47A@sourceware.org> Date: Sun, 8 Nov 2020 15:21:48 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2020 15:21:48 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9cdb799806e7531a1286d5928e501ae84e74be5f commit 9cdb799806e7531a1286d5928e501ae84e74be5f Author: Jon Turney Date: Wed Oct 28 16:14:55 2020 +0000 Cygwin: Set PATH for tests to pick up cygwin0.dll Set the PATH so that tests can pick up cygwin0.dll. Looks like this was dropped by accident in 2e488e95 ("Don't rely on in-build tools"), so restore it as it was prior to 9d89f634. Diff: --- winsup/testsuite/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in index a9388ef6a..b77961878 100644 --- a/winsup/testsuite/Makefile.in +++ b/winsup/testsuite/Makefile.in @@ -162,6 +162,8 @@ testsuite/site.exp: site.exp # Note: we set the PATH so that we can pick up cygwin0.dll check: $(TESTSUP_LIB_NAME) $(RUNTIME) cygrun.exe testsuite/site.exp + rootme=`pwd` ;\ + PATH=$$rootme/../cygwin:$${PATH} ;\ cd testsuite; runtest --tool winsup $(RUNTESTFLAGS) cygrun.o: cygrun.c