mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
edda3aeaf5
Use cygrun to isolate the cygload test from the current DLL, which allows it to pass.
18 lines
334 B
Bash
Executable File
18 lines
334 B
Bash
Executable File
#!/bin/dash
|
|
#
|
|
# test driver to run $1 in the appropriate environment
|
|
#
|
|
|
|
# $1 = test executable to run
|
|
exe=$1
|
|
|
|
export PATH="$runtime_root:${PATH}"
|
|
|
|
if [ "$1" = "./mingw/cygload" ]
|
|
then
|
|
windows_runtime_root=$(cygpath -m $runtime_root)
|
|
$cygrun "$exe -v -cygwin $windows_runtime_root/cygwin1.dll"
|
|
else
|
|
cygdrop $cygrun $exe
|
|
fi
|