diff options
author | Vineeth T M <vineeth.tm@samsung.com> | 2015-08-24 16:39:15 +0900 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2015-10-02 17:21:50 +0200 |
commit | 4071d60b0f6ae353506544222fc16af3359cc039 (patch) | |
tree | 0dcf2bbb9978149edac0416cd4e680e2fdd74a4a | |
parent | 1b700f13b4898d6d82e4b7576180eca9d0858390 (diff) |
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
-rw-r--r-- | validate/tools/gst-validate-images-check.c | 3 | ||||
-rw-r--r-- | validate/tools/gst-validate-media-check.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/validate/tools/gst-validate-images-check.c b/validate/tools/gst-validate-images-check.c index b4b2fbd..0f52eaf 100644 --- a/validate/tools/gst-validate-images-check.c +++ b/validate/tools/gst-validate-images-check.c @@ -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; } diff --git a/validate/tools/gst-validate-media-check.c b/validate/tools/gst-validate-media-check.c index 63b338d..8b67823 100644 --- a/validate/tools/gst-validate-media-check.c +++ b/validate/tools/gst-validate-media-check.c @@ -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; } |