[PATCH 10/11] Set PATH for tests to pick up cygwin0.dll

Jon Turney jon.turney@dronecode.org.uk
Thu Nov 5 19:47:47 GMT 2020


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.
---
 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
-- 
2.29.0



More information about the Cygwin-patches mailing list