validate: Print the return value at the end
authorVineeth T M <vineeth.tm@samsung.com>
Mon, 24 Aug 2015 07:39:15 +0000 (16:39 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 2 Oct 2015 15:21:50 +0000 (17:21 +0200)
Makes it easier to know if the test passed or failed.

https://bugzilla.gnome.org/show_bug.cgi?id=754013

validate/tools/gst-validate-images-check.c
validate/tools/gst-validate-media-check.c

index b4b2fbd..0f52eaf 100644 (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;
 }
index 63b338d..8b67823 100644 (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;
 }