[librsvg/librsvg-2.40] Ignore the "resources" directories in rsvg-test.c



commit 493b27497d1a4801e91ac760df8f5d5e853757e5
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Oct 4 07:40:41 2017 -0500

    Ignore the "resources" directories in rsvg-test.c
    
    From commit 4ec908b71f9f19d0d37c98879188a72308c00433

 tests/rsvg-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index bbd3c5d..03a58cb 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -180,7 +180,7 @@ is_svg_or_subdir (GFile *file)
     result = FALSE;
 
     basename = g_file_get_basename (file);
-    ignore = g_str_has_prefix (basename, "ignore");
+    ignore = g_str_has_prefix (basename, "ignore") || strcmp (basename, "resources") == 0;
 
     if (ignore)
        goto out;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]