public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Set PATH for tests to pick up cygwin0.dll
@ 2020-11-08 15:21 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-11-08 15:21 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 9cdb799806e7531a1286d5928e501ae84e74be5f
Author: Jon Turney <jon.turney@dronecode.org.uk>
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


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

only message in thread, other threads:[~2020-11-08 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-08 15:21 [newlib-cygwin] Cygwin: Set PATH for tests to pick up cygwin0.dll 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).