diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2015-01-23 12:12:36 -0600 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-01-23 18:16:48 -0800 |
commit | 9bb133990a82899f9d8614489b88af51f9161a23 (patch) | |
tree | f38196b0b99345ec90a5d133c4e26c9e7abfdd30 /tests/weston-test-client-helper.h | |
parent | 194ca2b2b249c1079c2f0aa7ebc0dcfece07d98a (diff) | |
download | weston-9bb133990a82899f9d8614489b88af51f9161a23.tar.gz |
tests: Skip buffer count test if wl_drm isn't present
This skips the test when running on the headless backend.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
(Presumably) Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'tests/weston-test-client-helper.h')
-rw-r--r-- | tests/weston-test-client-helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h index 2cf3d8f2..a6ea524b 100644 --- a/tests/weston-test-client-helper.h +++ b/tests/weston-test-client-helper.h @@ -26,6 +26,7 @@ #include "config.h" #include <assert.h> +#include <stdbool.h> #include "weston-test-runner.h" #include "wayland-test-client-protocol.h" @@ -40,6 +41,7 @@ struct client { struct surface *surface; int has_argb; struct wl_list global_list; + bool has_wl_drm; }; struct global { |