summaryrefslogtreecommitdiff
path: root/tests/conform/test-conform-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conform/test-conform-main.c')
-rw-r--r--tests/conform/test-conform-main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c
index 04536ae97..ce61c3a38 100644
--- a/tests/conform/test-conform-main.c
+++ b/tests/conform/test-conform-main.c
@@ -116,6 +116,13 @@ clutter_test_init (gint *argc,
shared_state->argv_addr = argv;
}
+static int
+can_write_to_uinput ()
+{
+ return g_access ("/dev/uinput", R_OK | W_OK) ||
+ g_access ("/dev/input/uinput", R_OK | W_OK);
+}
+
int
main (int argc, char **argv)
{
@@ -252,6 +259,8 @@ main (int argc, char **argv)
TEST_CONFORM_SIMPLE ("/cogl/vertex-buffer", test_cogl_vertex_buffer_interleved);
TEST_CONFORM_SIMPLE ("/cogl/vertex-buffer", test_cogl_vertex_buffer_mutability);
+ TEST_CONFORM_SKIP (can_write_to_uinput (), "/events", events_touch);
+
/* left to the end because they aren't currently very orthogonal and tend to
* break subsequent tests! */
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_viewport);