conformance: Only check for DISPLAY on X11 windowing backend
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=693741
This commit is contained in:
parent
e4598a9e52
commit
6bef2cff19
@ -32,6 +32,7 @@ test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,
|
|||||||
counter++;
|
counter++;
|
||||||
|
|
||||||
#ifdef CLUTTER_WINDOWING_X11
|
#ifdef CLUTTER_WINDOWING_X11
|
||||||
|
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
|
||||||
{
|
{
|
||||||
/* on X11 we need a display connection to run the test suite */
|
/* on X11 we need a display connection to run the test suite */
|
||||||
const gchar *display = g_getenv ("DISPLAY");
|
const gchar *display = g_getenv ("DISPLAY");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user