3 # Weston IVI Plugin Test
4 # Examination to operate only the program of the HomeScreen.
6 # Remark: This examination premises that Weston does not run.
9 rm -fr ../tests/testlog
10 mkdir ../tests/testlog
12 # 2 Weston/Wayland Envionment
13 export XDG_RUNTIME_DIR=/tmp/run-root
14 export QT_QPA_PLATFORM=wayland
15 export ELM_ENGINE=wayland_egl
16 export ECORE_EVAS_ENGINE=wayland_egl
17 #export ELM_ENGINE=wayland_shm
18 #export ECORE_EVAS_ENGINE=wayland_shm
19 export EVAS_FONT_DPI=72
20 export ECORE_IMF_MODULE=isf
21 export ELM_MODULES="ctxpopup_copypasteUI>entry/api:datetime_input_ctxpopup>datetime/api"
22 export ELM_SCALE="0.7"
23 export ELM_PROFILE=mobile
25 # 3 Set Environment for Test
26 export WESTON_IVI_PLUGIN_DIR="../src/.libs"
29 export XDG_CONFIG_HOME="../tests"
30 MOD_DIR="$PWD/../src/.libs"
31 /usr/bin/weston --backend=drm-backend.so --modules=$MOD_DIR/ico_plugin_loader.so --idle-time=0 --log=../tests/testlog/weston.log &
35 export LD_LIBRARY_PATH=../src/.libs:$LD_LIBRARY_PATH
37 # 6 Start test-homescreen
38 ../tests/test-homescreen -prompt=1 2> ../tests/testlog/test-homescreen.log
42 /usr/bin/killall weston