tests: fix a race condition in ivi-shell tests
authorEmre Ucan <eucan@de.adit-jv.com>
Wed, 14 Feb 2018 10:06:54 +0000 (11:06 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 14 Feb 2018 11:14:54 +0000 (13:14 +0200)
commitc6e2942fab4a0364108ef7073381205590e1a504
treea0190da2d0975e33e6647a1b09e0abd519761ada
parenteba58edc6a17c5aa380bedc4eeada801e4ec099c
tests: fix a race condition in ivi-shell tests

ivi-shell tests load their own controller plugin
for testing purposes. Tests also uses the generated
weston-ivi.in config file, which causes weston to
load hmi-controller and its helper client.
Existence of hmi-controller and its helper client
confuses test plugins. Because they are creating
surfaces and layers which are not expected by
test plugins.

We can start ivi-shell tests without config file
to solve this problem. Then, weston will not load
hmi-controller plugin.

Reported-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Daniel Stone <daniels@collabora.com>
Makefile.am
tests/weston-tests-env