summaryrefslogtreecommitdiff
path: root/tests/input-controller-test
diff options
context:
space:
mode:
authorMasayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>2013-12-26 14:51:29 +0900
committerMasayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>2013-12-26 14:55:03 +0900
commit2852fc4509eafd22771f03f4ffa11d9e0f58c47c (patch)
treeb519458aba2e77bf57241ba63ef4578ce82f99c8 /tests/input-controller-test
parent6dd1fbd5e6e9cc83b9824c775a43b120317dbb00 (diff)
downloadico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.tar.gz
ico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.tar.bz2
ico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.zip
Change-Id: Idfd45a0fc0fb7ab003c2d33c8c2d383e094720eb Signed-off-by: Masayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>
Diffstat (limited to 'tests/input-controller-test')
-rwxr-xr-xtests/input-controller-test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/input-controller-test b/tests/input-controller-test
index ed74a64..08e7867 100755
--- a/tests/input-controller-test
+++ b/tests/input-controller-test
@@ -10,6 +10,7 @@ rm -fr ../tests/testlog/* 2> /dev/null
# 2 set weston environment
export XDG_RUNTIME_DIR=/run/user/5000
+export XDG_CONFIG_HOME="../tests"
# 3 Start Device Input Controllers
export DIC_GTFORCE_CONF="./testdata/g27racingwheel.conf"
@@ -17,7 +18,7 @@ export DIC_GTFORCE_CONF="./testdata/g27racingwheel.conf"
sleep 0.5
# 4 Start Weston
-/usr/bin/weston --tty=1 --idle-time=0 $WESTON_BACKEND --log=../tests/testlog/weston.log &
+/usr/bin/weston --tty=2 --idle-time=0 $WESTON_BACKEND --log=../tests/testlog/weston.log &
sleep 180
# 5 End of Test
@@ -43,9 +44,9 @@ fi
if [ "$?" != "1" ] ; then
FOUND_ERR=1
fi
-/bin/grep "error" testlog/*
+/bin/grep "error" testlog/* | /bin/grep -v "error_but_no_problem_for_test" | /bin/grep -v "failed to restore kb mode:" | /bin/grep -v "failed to set KD_TEXT mode on tty:"
if [ "$?" != "1" ] ; then
- FOUND_ERR=1
+ FOUND_ERR=1
fi
/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