[gimp] app: add GIMP_TESTING_NO_GEGL_BLACKLIST flag



commit 8c35cc98727805a6648e20f143a9377982f805a9
Author: Ell <ell_se yahoo com>
Date:   Mon Apr 17 15:45:19 2017 -0400

    app: add GIMP_TESTING_NO_GEGL_BLACKLIST flag
    
    When this environment variable is set, all GEGL ops are included
    in the GEGL tool.

 app/tools/gimpgegltool.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index b9f44db..7691f7f 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -247,6 +247,10 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
   if (! name)
     return TRUE;
 
+  /* use this flag to include all ops for testing */
+  if (g_getenv ("GIMP_TESTING_NO_GEGL_BLACKLIST"))
+    return FALSE;
+
   if (g_str_has_prefix (name, "gimp"))
     return TRUE;
 


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