File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed
Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 8585 $(RM ) -rf LoadDll.exe $(TEST_DLLS ) $(LOADDLL_OBJ ) $(DLL_OBJ )
8686
8787test : all
88- ./TestSuite.exe
88+ ./runwine.sh $( PLATFORM ) TestSuite.exe
8989 ./runtests.sh $(PLATFORM ) " $( TEST_DLLS) "
Original file line number Diff line number Diff line change 11#! /bin/bash
22PLATFORM=$1
3- if [ " ${PLATFORM} " = " x86_64" ]; then
4- export WINEPREFIX=${HOME} /.wine64/
5- WINE=wine64
6- else
7- export WINEPREFIX=${HOME} /.wine/
8- WINE=wine
9- fi
10- export WINEPATH=/usr/lib/gcc/${PLATFORM} -w64-mingw32/4.6/
113
124read -a TEST_DLLS <<< $2
135
146for filename in " ${TEST_DLLS[@]} "
157do
168 :
179 echo " Testing $filename "
18- ${WINE} ./LoadDll.exe $filename
10+ ./runwine.sh " ${PLATFORM} " ./LoadDll.exe $filename
1911 if [ " $? " != " 0" ]; then
2012 exit 1
2113 fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eu
3+ PLATFORM=$1
4+ shift
5+
6+ if [ " ${PLATFORM} " = " x86_64" ]; then
7+ export WINEPREFIX=${HOME} /.wine64/
8+ WINE=wine64
9+ else
10+ export WINEPREFIX=${HOME} /.wine/
11+ WINE=wine
12+ fi
13+ export WINEPATH=/usr/lib/gcc/${PLATFORM} -w64-mingw32/4.6/
14+
15+ exec ${WINE} $@
You can’t perform that action at this time.
0 commit comments