gstreamer/subprojects/gst-devtools
Alicia Boya García ba61160d6c validate-launcher: Fix race condition on repeated tests
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2900

The `reports` list was being copied as a reference, therefore, copies of
a test ended up inadvertedly sharing the same list of reports. Reports
added by one instance of the test would be reflected in all instances.

This caused a race condition where, if a test was run on repeat with
gst-validate-launcher -f, very often wrong log file was shown to the
user. For instance, gst-validate-launcher would say "test failed, see
log for iteration7", but iteration7 would contain "TEST PASSED".

Worse, the runner would add the report to that incorrect log file,
mixing problems between different executions of the tests.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5177>
2023-08-13 03:18:50 +00:00
..
debug-viewer debug-viewer: Remove unnecessary call to gettext.bind_textdomain_codeset() 2023-07-13 15:07:20 +00:00
docs validate:ssim: fix gst-validate tool name in the example 2023-02-15 23:06:50 +00:00
scripts gst-omx: Retire the whole package 2023-07-16 19:10:03 +00:00
tracer stats: Adapt to new serialization of enums 2023-03-14 04:39:14 +00:00
validate validate-launcher: Fix race condition on repeated tests 2023-08-13 03:18:50 +00:00
.gitignore Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-devtools.doap Release 1.22.0 2023-01-23 19:41:07 +00:00
meson.build Back to development 2023-01-23 23:04:53 +00:00
meson_options.txt tools: Add support for building gstreamer tools against gst-full 2022-03-30 17:43:17 +00:00
NEWS Release 1.22.0 2023-01-23 19:41:07 +00:00
RELEASE Release 1.22.0 2023-01-23 19:41:07 +00:00