diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-28 16:14:55 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-11-08 14:41:55 +0000 |
commit | 9cdb799806e7531a1286d5928e501ae84e74be5f (patch) | |
tree | e82b8f44af49a99003c4da0c51dad34dbe77f2a1 /winsup/testsuite | |
parent | 0c448d53e10b1ab8f483f704f9ba07bc143fb788 (diff) | |
download | newlib-9cdb799806e7531a1286d5928e501ae84e74be5f.zip newlib-9cdb799806e7531a1286d5928e501ae84e74be5f.tar.gz newlib-9cdb799806e7531a1286d5928e501ae84e74be5f.tar.bz2 |
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.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in index a9388ef..b779618 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 |