Revert "Corresponding to TizenIVI3.0 M14.3, GENIVI-LayerManagement was used instead...
[profile/ivi/ico-uxf-homescreen.git] / tests / homescreen / homescreen-test-startall.sh
1 #!/bin/sh
2
3 # 1 Delete log file
4 rm -fr /var/log/weston.log
5
6 # 2 Weston/Wayland Envionment
7 export XDG_RUNTIME_DIR=/tmp/run-root
8 export QT_QPA_PLATFORM=wayland
9 export ELM_ENGINE=wayland_egl
10 export ECORE_EVAS_ENGINE=wayland_egl
11 #export ELM_ENGINE=wayland_shm
12 #export ECORE_EVAS_ENGINE=wayland_shm
13 export EVAS_FONT_DPI=72
14 export ECORE_IMF_MODULE=isf
15 export ELM_MODULES="ctxpopup_copypasteUI>entry/api:datetime_input_ctxpopup>datetime/api"
16 export ELM_SCALE="0.7"
17 export ELM_PROFILE=mobile
18
19 # 3 Start Device Input Controller for eGalax TouchPanel
20 /usr/bin/ico_ictl-touch_egalax -t
21 sleep 0.3
22
23 # 4 Start Weston
24 ORG_UMASK=`umask`
25 umask 000
26 /usr/bin/weston --backend=drm-backend.so --idle-time=0 --log=/var/log/weston.log &
27 sleep 0.5
28 if [ -f $XDG_RUNTIME_DIR/wayland-0 ] ; then
29         chmod 0777 $XDG_RUNTIME_DIR/wayland-0
30 fi
31 umask $ORG_UMASK
32
33 # 5 start app core daemon
34 sleep 1
35 /usr/bin/launchpad_preloading_preinitializing_daemon &
36
37 # 6 start homescreen
38 rm -fr /tmp/log
39 mkdir /tmp/log/
40 chmod -R 0777 /tmp/log
41 /usr/bin/launch_app org.tizen.ico.homescreen &
42
43 # 7 start test shell
44 sleep 5
45 ./homescreen-test.sh