summaryrefslogtreecommitdiff
path: root/tests/weston-plugin-test.input
diff options
context:
space:
mode:
authorHayato Nakamura <hayato.nakamura@mail.toyota-td.jp>2013-09-19 19:57:14 +0900
committerHayato Nakamura <hayato.nakamura@mail.toyota-td.jp>2013-09-19 19:58:01 +0900
commit0d97f74cc1665e091dbce1c1463851ffce2d4be8 (patch)
tree2e96193802ab7a60ed782b657c5b9fe26b393095 /tests/weston-plugin-test.input
parentcaf557382c4439b1f88bf9512e94da35cb6981ef (diff)
downloadico-uxf-weston-plugin-0d97f74cc1665e091dbce1c1463851ffce2d4be8.tar.gz
ico-uxf-weston-plugin-0d97f74cc1665e091dbce1c1463851ffce2d4be8.tar.bz2
ico-uxf-weston-plugin-0d97f74cc1665e091dbce1c1463851ffce2d4be8.zip
Fix for - Weston sometimes crashes at the time of surface createion.submit/tizen/20130919.120935accepted/tizen/20130919.204240accepted/tizen/20130919.181058
Change-Id: If014ed540bb3b376fd735c29756c6ff8f05ff469 Signed-off-by: Hayato Nakamura <hayato.nakamura@mail.toyota-td.jp>
Diffstat (limited to 'tests/weston-plugin-test.input')
-rwxr-xr-xtests/weston-plugin-test.input20
1 files changed, 7 insertions, 13 deletions
diff --git a/tests/weston-plugin-test.input b/tests/weston-plugin-test.input
index f669462..2a56604 100755
--- a/tests/weston-plugin-test.input
+++ b/tests/weston-plugin-test.input
@@ -12,34 +12,28 @@ mkdir ../tests/testlog
../tests/test-send_event -d -mq=5551 2> ../tests/testlog/event_log.log &
sleep 1
-# 3 Weston/Wayland Envionment
-export XDG_RUNTIME_DIR=/run/user/5000
-export QT_QPA_PLATFORM=wayland
-export ELM_ENGINE=wayland_egl
-export ECORE_EVAS_ENGINE=wayland_egl
-
-# 4 Set Environment for Test
+# 3 Set Environment for Test
export WESTON_IVI_PLUGIN_DIR="../src/.libs"
-# 5 Start Weston
+# 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 &
+/usr/bin/weston --modules=$MOD_DIR/ico_plugin_loader.so --idle-time=0 $WESTON_BACKEND --log=../tests/testlog/weston.log &
sleep 1
-# 6 Set library path
+# 5 Set library path
export LD_LIBRARY_PATH=../src/.libs:$LD_LIBRARY_PATH
-# 7 Start test-homescreen
+# 6 Start test-homescreen
../tests/test-homescreen < ../tests/testdata/hs_inputtest.dat 2> ../tests/testlog/test-homescreen.log
-# 8 End of Test
+# 7 End of Test
sleep 1
/usr/bin/killall weston
/usr/bin/killall test-send_event
sleep 1
-# 9 Check Error
+# 8 Check Error
FOUND_ERR=0
/bin/grep "ERR>" testlog/*
if [ "$?" != "1" ] ; then