mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
validate: Print the return value at the end
Makes it easier to know if the test passed or failed. https://bugzilla.gnome.org/show_bug.cgi?id=754013
This commit is contained in:
parent
1b700f13b4
commit
4071d60b0f
2 changed files with 6 additions and 0 deletions
|
@ -110,5 +110,8 @@ main (int argc, char **argv)
|
|||
g_object_unref (runner);
|
||||
gst_validate_deinit ();
|
||||
|
||||
g_print ("\n=======> Test %s (Return value: %i)\n\n",
|
||||
ret == 0 ? "PASSED" : "FAILED", ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -150,5 +150,8 @@ out:
|
|||
gst_deinit ();
|
||||
gst_validate_deinit ();
|
||||
|
||||
g_print ("\n=======> Test %s (Return value: %i)\n\n",
|
||||
ret == 0 ? "PASSED" : "FAILED", ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue