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:
Vineeth T M 2015-08-24 16:39:15 +09:00 committed by Thibault Saunier
parent 1b700f13b4
commit 4071d60b0f
2 changed files with 6 additions and 0 deletions

View file

@ -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;
}

View file

@ -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;
}