forked from viking-gps/viking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildtests.sh
executable file
·44 lines (41 loc) · 1.23 KB
/
buildtests.sh
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
40
41
42
43
44
#!/bin/bash
# Currently on my machine all tests takes about 30 minutes
check_build ()
{
make clean > /dev/null
echo "Building with '$1' ..."
./configure $1 > /dev/null && make -j > /dev/null
if [ $? != 0 ]; then
echo "==================="
echo "Build for $1 failed"
echo "==================="
exit 1
fi
}
# Check for mostly single build option failures
# Could check (some) combinations - but too many variants
#check_build "--disable-geotag --disable-geoclue"
check_build "--enable-gtk2"
check_build "--disable-bing"
check_build "--disable-google"
check_build "--enable-terraserver"
check_build "--enable-expedia"
check_build "--disable-openstreetmap"
check_build "--disable-bluemarble"
check_build "--disable-geonames"
check_build "--enable-geocaches"
check_build "--disable-geoclue"
check_build "--disable-geotag"
check_build "--with-libexif"
check_build "--enable-dem24k"
check_build "--disable-oauth"
check_build "--disable-realtime-gps-tracking"
check_build "--disable-bzip2"
check_build "--disable-magic"
check_build "--disable-mbtiles"
check_build "--disable-zip"
check_build "--disable-nettle"
check_build "--disable-nova"
check_build "--disable-mapnik"
# Restore back to defaults
check_build ""