summaryrefslogtreecommitdiff
path: root/test/navigation/script/test-all
blob: ac90fda3db0e3d39f3d6f7d337a409ada9931420 (plain)
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

export PYTHONIOENCODING=utf-8

result="$(./test-poi.py -l ../resource/location.xml -s "sChü" 2>&1 >/dev/null)"
echo $result
if [[ $result != *"PASSED"* ]]; then 
	exit 1 
fi

result="$(./test-location-input.py -l ../resource/locations.xml 2>&1 >/dev/null)"
echo $result
if [[ $result != *"PASSED"* ]]; then 
	exit 1 
fi

result="$(./test-route-calculation.py -r ../resource/routes.xml  2>&1 >/dev/null)"
echo $result
if [[ $result != *"PASSED"* ]]; then 
	exit 1 
fi

result="$(./test-address-input.py -l ../resource/location.xml  2>&1 >/dev/null)"
echo $result
if [[ $result != *"PASSED"* ]]; then 
	exit 1 
fi

result="$(./test-guidance.py -r ../resource/route.xml  2>&1 >/dev/null)"
echo $result
if [[ $result != *"PASSED"* ]]; then 
	exit 1 
fi

result="$(./test-map-viewer-control.py -l ../resource/location.xml  2>&1 >/dev/null)"
echo $result
if [[ $result == *"PASSED"* ]]; then 
	echo "Batch test PASSED" 
fi