mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 07:56:38 +00:00
validate: Get proper error message on diff error instead of assert
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8376>
This commit is contained in:
parent
61fc65475e
commit
8a5ca84612
1 changed files with 5 additions and 2 deletions
|
@ -461,8 +461,11 @@ run_diff (const gchar * expected_file, const gchar * actual_file)
|
|||
"--", expected_file, actual_file, NULL);
|
||||
gchar *stdout_text = NULL;
|
||||
|
||||
g_subprocess_communicate_utf8 (process, NULL, NULL, &stdout_text, NULL,
|
||||
&error);
|
||||
if (!error) {
|
||||
g_subprocess_communicate_utf8 (process, NULL, NULL, &stdout_text, NULL,
|
||||
&error);
|
||||
}
|
||||
|
||||
if (!error) {
|
||||
gboolean colored = gst_validate_has_colored_output ();
|
||||
GSubprocess *process2;
|
||||
|
|
Loading…
Reference in a new issue