summaryrefslogtreecommitdiff
path: root/tests/test-shape.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 16:33:28 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 16:33:28 -0700
commit4212fa6a2b8581d9e1c2074c1130d94895d68a61 (patch)
tree43cb8e1d0f73269b0c3b3809c16bbc61f08f0ccb /tests/test-shape.c
parent3d4ca6835a07f434c95d208e4053b45b6a009e01 (diff)
downloadpango-4212fa6a2b8581d9e1c2074c1130d94895d68a61.tar.gz
test-shape: Exit quietly
We don't have any testcases for this yet, no reason to fail the testsuite.
Diffstat (limited to 'tests/test-shape.c')
-rw-r--r--tests/test-shape.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-shape.c b/tests/test-shape.c
index acce5a03..1cf52044 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -294,6 +294,10 @@ main (int argc, char *argv[])
path = g_test_build_filename (G_TEST_DIST, "shape", NULL);
dir = g_dir_open (path, 0, &error);
g_free (path);
+
+ if (g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT))
+ return 0;
+
g_assert_no_error (error);
while ((name = g_dir_read_name (dir)) != NULL)
{