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

cygrun.sh « testsuite « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf1d5cc6b51948c24935940ed3a7020e81f3d959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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