summaryrefslogtreecommitdiff
path: root/tests/weston-test-client-helper.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-01-23 12:12:36 -0600
committerBryce Harrington <bryce@osg.samsung.com>2015-01-23 18:16:48 -0800
commit9bb133990a82899f9d8614489b88af51f9161a23 (patch)
treef38196b0b99345ec90a5d133c4e26c9e7abfdd30 /tests/weston-test-client-helper.h
parent194ca2b2b249c1079c2f0aa7ebc0dcfece07d98a (diff)
downloadweston-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.h2
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 {