diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c index 01c4b804..1b96f8e6 100644 --- a/tests/weston-test-client-helper.c +++ b/tests/weston-test-client-helper.c @@ -870,22 +870,6 @@ static const struct wl_registry_listener registry_listener = { handle_global_remove, }; -void -skip(const char *fmt, ...) -{ - va_list argp; - - va_start(argp, fmt); - vfprintf(stderr, fmt, argp); - va_end(argp); - - /* automake tests uses exit code 77. weston-test-runner will see - * this and use it, and then weston-test's sigchld handler (in the - * weston process) will use that as an exit status, which is what - * ninja will see in the end. */ - exit(77); -} - void expect_protocol_error(struct client *client, const struct wl_interface *intf, diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h index 8e1505d4..b30fdb7f 100644 --- a/tests/weston-test-client-helper.h +++ b/tests/weston-test-client-helper.h @@ -232,9 +232,6 @@ frame_callback_wait_nofail(struct client *client, int *done); #define frame_callback_wait(c, d) assert(frame_callback_wait_nofail((c), (d))) -void -skip(const char *fmt, ...); - void expect_protocol_error(struct client *client, const struct wl_interface *intf, uint32_t code);