summaryrefslogtreecommitdiff
path: root/tests/input-controller-test
diff options
context:
space:
mode:
authorHayato Nakamura <hayato.nakamura@mail.toyota-td.jp>2013-11-29 19:23:12 +0900
committerHayato Nakamura <hayato.nakamura@mail.toyota-td.jp>2013-11-29 19:34:15 +0900
commit6dd1fbd5e6e9cc83b9824c775a43b120317dbb00 (patch)
tree2635f13b04a8a267e2b262e35b6a5e5ae519a099 /tests/input-controller-test
parent5b06c59adb2ae4047806e07fc6d7892a656ab931 (diff)
downloadico-uxf-device-input-controller-6dd1fbd5e6e9cc83b9824c775a43b120317dbb00.tar.gz
ico-uxf-device-input-controller-6dd1fbd5e6e9cc83b9824c775a43b120317dbb00.tar.bz2
ico-uxf-device-input-controller-6dd1fbd5e6e9cc83b9824c775a43b120317dbb00.zip
Change-Id: If1cbd0bfc23ce0c104d6bbdb8141a20723c1e620 Signed-off-by: Hayato Nakamura <hayato.nakamura@mail.toyota-td.jp>
Diffstat (limited to 'tests/input-controller-test')
-rwxr-xr-xtests/input-controller-test8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/input-controller-test b/tests/input-controller-test
index c9bfeb0..ed74a64 100755
--- a/tests/input-controller-test
+++ b/tests/input-controller-test
@@ -17,13 +17,15 @@ export DIC_GTFORCE_CONF="./testdata/g27racingwheel.conf"
sleep 0.5
# 4 Start Weston
-/usr/bin/weston --idle-time=0 $WESTON_BACKEND --log=../tests/testlog/weston.log &
+/usr/bin/weston --tty=1 --idle-time=0 $WESTON_BACKEND --log=../tests/testlog/weston.log &
sleep 180
# 5 End of Test
sleep 1
/usr/bin/killall ico_dic-gtforce
-sleep 0.2
+sleep 0.4
+/usr/bin/killall -9 ico_dic-gtforce > /dev/nul 2>&1
+sleep 0.1
/usr/bin/killall weston
sleep 1
@@ -45,7 +47,7 @@ fi
if [ "$?" != "1" ] ; then
FOUND_ERR=1
fi
-/bin/grep "Fail" testlog/* | /bin/grep -v "error_but_no_problem_for_test" | /bin/grep -v "initialize backlight"
+/bin/grep "Fail" testlog/* | /bin/grep -v "error_but_no_problem_for_test" | /bin/grep -v "initialize backlight" | /bin/grep -v "disconnect"
if [ "$?" != "1" ] ; then
FOUND_ERR=1
fi