tests: add test_usleep and test_sleep functions
authorMarek Chalupa <mchqwerty@gmail.com>
Wed, 12 Nov 2014 12:14:46 +0000 (13:14 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 17 Nov 2014 14:48:14 +0000 (16:48 +0200)
commit6ebe55060e6337f56e295032cc776fce694acbdb
tree686e80bc077b17487edc0e3c79ab2aab47c8cc34
parent7bf8049c484959f7ccc3262724466172dce786b6
tests: add test_usleep and test_sleep functions

The former one was already used in tests, but was private.
These functions can be shared across the tests, so make them
public.

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/display-test.c
tests/test-helpers.c
tests/test-runner.h