blob: a44b1d85e98e45d03d0121bbd5100a229769c6cd (
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
40
41
42
43
|
#!/bin/sh
#
# Weston IVI Plugin Test
# Examination to operate only the program of the HomeScreen.
#
# Remark: This examination premises that Weston does not run.
# 1 Delete log file
rm -fr ../tests/testlog
mkdir ../tests/testlog
# 2 Weston/Wayland Envionment
export XDG_RUNTIME_DIR=/tmp/run-root
export QT_QPA_PLATFORM=wayland
export ELM_ENGINE=wayland_egl
export ECORE_EVAS_ENGINE=wayland_egl
#export ELM_ENGINE=wayland_shm
#export ECORE_EVAS_ENGINE=wayland_shm
export EVAS_FONT_DPI=72
export ECORE_IMF_MODULE=isf
export ELM_MODULES="ctxpopup_copypasteUI>entry/api:datetime_input_ctxpopup>datetime/api"
export ELM_SCALE="0.7"
export ELM_PROFILE=mobile
# 3 Set Environment for Test
export WESTON_IVI_PLUGIN_DIR="../src/.libs"
# 4 Start Weston
export XDG_CONFIG_HOME="../tests"
MOD_DIR="$PWD/../src/.libs"
/usr/bin/weston --backend=drm-backend.so --modules=$MOD_DIR/ico_plugin_loader.so --idle-time=0 --log=../tests/testlog/weston.log &
sleep 2
# 5 Set library path
export LD_LIBRARY_PATH=../src/.libs:$LD_LIBRARY_PATH
# 6 Start test-homescreen
../tests/test-homescreen -prompt=1 2> ../tests/testlog/test-homescreen.log
# 7 End of Test
sleep 2
/usr/bin/killall weston
|