4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 12:30:24 +08:00

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.
This commit is contained in:
Jon Turney 2020-10-28 16:14:55 +00:00 committed by Ken Brown
parent cfb3e51ea7
commit 09a7bf22cd

View File

@ -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