mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/799>
This commit is contained in:
parent
472dc4b743
commit
79020fa355
1 changed files with 4 additions and 0 deletions
|
@ -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/");
|
||||
|
|
Loading…
Reference in a new issue