aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite/config/default.exp
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-12-23 13:05:34 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2023-01-10 10:27:13 +0000
commit1a9f95d8941d58385fb76ec20fac143c035cec85 (patch)
tree2cee6a6403eea421f1aa5dd89a055708d064e6a0 /winsup/testsuite/config/default.exp
parent13a7b16ea3ad64794b1cd7651ecfef9c258f3a6c (diff)
downloadnewlib-1a9f95d8941d58385fb76ec20fac143c035cec85.zip
newlib-1a9f95d8941d58385fb76ec20fac143c035cec85.tar.gz
newlib-1a9f95d8941d58385fb76ec20fac143c035cec85.tar.bz2
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/config/default.exp')
-rw-r--r--winsup/testsuite/config/default.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp
index 7ef16ee..ad91caa 100644
--- a/winsup/testsuite/config/default.exp
+++ b/winsup/testsuite/config/default.exp
@@ -1,7 +1,7 @@
proc winsup_version {} {
global env
global runtime_root
- clone_output "\n[exec grep -a ^%%% $runtime_root/cygwin0.dll]\n"
+ clone_output "\n[exec grep -a ^%%% $runtime_root/cygwin1.dll]\n"
if { [info exists env(CYGWIN)] } {
clone_output "CYGWIN=$env(CYGWIN)\n"
} else {