Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-12-23 16:05:34 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-01-10 13:27:13 +0300
commit1a9f95d8941d58385fb76ec20fac143c035cec85 (patch)
tree2cee6a6403eea421f1aa5dd89a055708d064e6a0 /winsup/testsuite/Makefile.am
parent13a7b16ea3ad64794b1cd7651ecfef9c258f3a6c (diff)
Cygwin: Run testsuite against the just-built DLL
Since 4e7817498efc, we're just running the tests against the installed DLL. We're arranging to put the build directory on the path, but since it doesn't contain cygwin1.dll (since it's built with a different name and renamed on installation), that doesn't have any effect. Arrange to place the just-built DLL into a directory which the testsuite can place on it's path (while running the test, but not while compiling it). Also fix any remaining references to cygwin0.dll in testsuite, documentation and comments. Fixes: 4e7817498efc ("Cygwin: Makefile: Drop all the "test dll" considerations")
Diffstat (limited to 'winsup/testsuite/Makefile.am')
-rw-r--r--winsup/testsuite/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/testsuite/Makefile.am b/winsup/testsuite/Makefile.am
index ac68934d0..a7b435c46 100644
--- a/winsup/testsuite/Makefile.am
+++ b/winsup/testsuite/Makefile.am
@@ -45,7 +45,8 @@ testdll_tmpdir = $(shell cygpath -ma $(tmpdir) | sed -e 's#^\([A-Z]\):#/cygdrive
site-extra.exp: ../config.status Makefile
@rm -f ./tmp0
- @echo "set runtime_root \"`pwd`/../cygwin\"" >> ./tmp0
+ @echo "set runtime_root \"`pwd`/runtime\"" >> ./tmp0
+ @echo "set libdir \"`pwd`/../cygwin\"" >> ./tmp0
@echo "set CC \"$(CC)\"" >> ./tmp0
@echo "set CFLAGS \"\"" >> ./tmp0
@echo "set MINGW_CXX \"$(MINGW_CXX)\"" >> ./tmp0