blob: d573075f624e5afe8c7d83d9fb44f7f04ad1102b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/bash
source ./.tools/init.sh
clientdata_init
aptget_update
# Evidently libcurl3-gnutls ships libcurl4-gnutls.so.4
aptget_install \
libcurl3-gnutls \
libsdl-gfx1.2 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0 \
wget unzip
pwd
ls
stat libdownload
stat manaplus_master
rm -rf libdownload
rm -rf manaplus_master
./clientdata/.tools/downloadlib.sh manaplus master || exit 1
export HOME="$PWD/clientdata/shared"
cd manaplus_master || exit 1
export SDL_VIDEODRIVER=dummy
./bin/manaplus --validate -u -d ../clientdata || exit 1
ls "${HOME}/.local/share/mana/manaplus.log" || exit 1
grep -A 10 "Assert:" "${HOME}/.local/share/mana/manaplus.log"
if [ "$?" == 0 ]; then
echo "Asserts found"
exit 1
fi
cd ..
|