We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31cbe89 commit d9dc0b0Copy full SHA for d9dc0b0
1 file changed
tests/runtests.sh
@@ -1,17 +1,21 @@
1
#!/bin/bash
2
-if [ "$1" = "x86_64" ]; then
+PLATFORM=$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/
11
12
read -a TEST_DLLS <<< $2
13
14
for filename in "${TEST_DLLS[@]}"
15
do
16
:
17
echo "Testing $filename"
- ./LoadDll.exe $filename
18
+ ${WINE} ./LoadDll.exe $filename
19
if [ "$?" != "0" ]; then
20
exit 1
21
0 commit comments