test: skip the test-suite runner based on SKIP_LIBINPUT_TEST_SUITE_RUNNER
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 21 Jun 2018 05:32:02 +0000 (15:32 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 21 Jun 2018 05:46:04 +0000 (15:46 +1000)
commit0a9c28c8c0f3e27024b4899d9313c6a9f08ee296
treec1ea08c9c3b1d448fc8c3691757ebfb42d66a32d
parentc20d50eb6f5e7f171e75e97f1228daf6c12c6c15
test: skip the test-suite runner based on SKIP_LIBINPUT_TEST_SUITE_RUNNER

The current /dev/input/* check isn't reliable enough. So rather than adding
extra heuristics prone to fail add an environment variable that says "do not
run the test suite runner". All other tests are run since they do not
require/modify any specific system setup.

Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/62

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c