summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-04-07 10:54:55 +0200
committerBastien Nocera <hadess@hadess.net>2020-04-30 12:03:34 +0200
commit31b78c4da0f949678521fca887ebf591cd5be6cf (patch)
treed6a6069d57743e721f33998d9da11db212d90168 /tests
parenta8ef17aac0a966da3ea58710e06672a9d62cdff5 (diff)
downloadgnome-desktop-31b78c4da0f949678521fca887ebf591cd5be6cf.tar.gz
tests: Require x11 for the wallclock-reftest
It's broken for every other backend.
Diffstat (limited to 'tests')
-rw-r--r--tests/wallclock-reftest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/wallclock-reftest.c b/tests/wallclock-reftest.c
index 0a7e812d..9c90eeca 100644
--- a/tests/wallclock-reftest.c
+++ b/tests/wallclock-reftest.c
@@ -586,6 +586,9 @@ main (int argc, char **argv)
unsetenv("LC_ALL");
unsetenv("LC_TIME");
+ /* gdk_cairo_set_source_window() doesn't work with anything but X11 */
+ gdk_set_allowed_backends ("x11");
+
/* I don't want to fight fuzzy scaling algorithms in GPUs,
* so unless you explicitly set it to something else, we
* will use Cairo's image surface.