Skip to content

Commit df3011f

Browse files
committed
Fix upstream workflow build (#29)
1 parent ad4660c commit df3011f

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

winsup/configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ AC_CONFIG_FILES([
136136
Makefile
137137
cygwin/Makefile
138138
cygserver/Makefile
139+
doc/Makefile
140+
utils/Makefile
141+
utils/mingw/Makefile
139142
testsuite/Makefile
140143
testsuite/mingw/Makefile
141144
])

winsup/testsuite/cygrun.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ then
1313
windows_runtime_root=$(cygpath -m $runtime_root)
1414
$cygrun "$exe -v -cygwin $windows_runtime_root/cygwin1.dll"
1515
else
16-
# Removing cygdrop $cygrun to make the tests pass while testing on wsl-env
17-
timeout --preserve-status 300 "$exe"
16+
if uname | grep -qi cygwin; then
17+
cygdrop $cygrun $exe
18+
else
19+
# Running under WSL.
20+
timeout --preserve-status 300 "$exe"
21+
fi
1822
fi

0 commit comments

Comments
 (0)