diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-08-11 15:06:10 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-08-11 15:06:31 -0400 |
commit | b176b5c29d931bfab16601dcb89dd6b6728bc386 (patch) | |
tree | 53212ac06cc63876f2962614ad42b51c7bcd40e4 /test/xlib-surface.c | |
parent | bbd5f03fd8b04b92c9f8f06a386894d88650c0b4 (diff) | |
download | cairo-b176b5c29d931bfab16601dcb89dd6b6728bc386.tar.gz |
[test/get-xrender-format.c] Don't fail if DISPLAY is not set
Diffstat (limited to 'test/xlib-surface.c')
-rw-r--r-- | test/xlib-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xlib-surface.c b/test/xlib-surface.c index eda085f50..4bac497ce 100644 --- a/test/xlib-surface.c +++ b/test/xlib-surface.c @@ -306,7 +306,7 @@ main (void) if (!dpy) { cairo_test_log ("xlib-surface: Cannot open display, skipping\n"); cairo_test_fini (); - return 0; + return CAIRO_TEST_SUCCESS; } if (!check_visual (dpy)) { |