tests: leak tracer: disable stack traces for faster test execution

This test takes 39 seconds on my machine even though it just runs
a couple of fakesrc num-buffers=2 ! fakesink pipelines. Most of
the cpu seems to be spent in libz, related to stack trace management.

Use stack-traces-flags=none instead of stack-traces-flags=full
until a better solution can be found. Might warrant more
investigation in any case..

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/503>
This commit is contained in:
Tim-Philipp Müller 2020-05-27 12:26:01 +01:00 committed by GStreamer Merge Bot
parent 07fcd4d1b5
commit e0bcf24d30

View file

@ -496,7 +496,7 @@ main (int argc, char **argv)
{
Suite *s;
g_setenv ("GST_TRACERS", "leaks(name=plain,log-leaks-on-deinit=false);"
"leaks(name=more,filters=GstPad,check-refs=true,stack-traces-flags=full,log-leaks-on-deinit=false);",
"leaks(name=more,filters=GstPad,check-refs=true,stack-traces-flags=none,log-leaks-on-deinit=false);",
TRUE);
gst_check_init (&argc, &argv);
s = leakstracer_suite ();