From 79020fa355936c6463310779efe9a1e0a4630001 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Mon, 19 Apr 2021 10:49:42 -0400 Subject: [PATCH] registry: skip integration testsuite directory during plugin scan When using an uninstalled development environment and running the validation tests, the number of log files can grow substantially, slowing down startup. Part-of: --- subprojects/gstreamer/gst/gstregistry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gstreamer/gst/gstregistry.c b/subprojects/gstreamer/gst/gstregistry.c index daa5e72540..3e8faed7bc 100644 --- a/subprojects/gstreamer/gst/gstregistry.c +++ b/subprojects/gstreamer/gst/gstregistry.c @@ -1222,6 +1222,10 @@ skip_directory (const gchar * parent_path, const gchar * dirent) if (g_str_has_prefix (dirent, "hotdoc-private-")) return TRUE; + /* gst-integration-testsuites can end up with many log files */ + if (strcmp (dirent, "gst-integration-testsuites") == 0) + return TRUE; + /* Rust build dirs which may contain artefacts we should skip, can be * /target/{debug,release} or /target/{arch}/{debug,release} */ target = strstr (parent_path, "/target/");