[pango/wip/kill-shape-engine] test-shape: Exit quietly
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/kill-shape-engine] test-shape: Exit quietly
- Date: Thu, 18 Jul 2019 23:34:05 +0000 (UTC)
commit 4212fa6a2b8581d9e1c2074c1130d94895d68a61
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 18 16:33:28 2019 -0700
test-shape: Exit quietly
We don't have any testcases for this yet,
no reason to fail the testsuite.
tests/test-shape.c | 4 ++++
1 file changed, 4 insertions(+)
---
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]