diff options
author | Masayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp> | 2013-12-26 14:51:29 +0900 |
---|---|---|
committer | Masayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp> | 2013-12-26 14:55:03 +0900 |
commit | 2852fc4509eafd22771f03f4ffa11d9e0f58c47c (patch) | |
tree | b519458aba2e77bf57241ba63ef4578ce82f99c8 /tests/input-controller-test | |
parent | 6dd1fbd5e6e9cc83b9824c775a43b120317dbb00 (diff) | |
download | ico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.tar.gz ico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.tar.bz2 ico-uxf-device-input-controller-2852fc4509eafd22771f03f4ffa11d9e0f58c47c.zip |
Revise: add manifest file for SMACK label setting. And add process start/end log.submit/tizen_ivi_release/20140312.071455submit/tizen/20140129.084811accepted/tizen/ivi/release/20140312.124735accepted/tizen/ivi/20140129.180655accepted/tizen/ivi
Change-Id: Idfd45a0fc0fb7ab003c2d33c8c2d383e094720eb
Signed-off-by: Masayuki Sasaki <masayuki.sasaki@mail.toyota-td.jp>
Diffstat (limited to 'tests/input-controller-test')
-rwxr-xr-x | tests/input-controller-test | 7 |
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 |