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
parent 0c448d53e1
commit 9cdb799806
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 2 additions and 0 deletions

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