gst_plugins_base/tsrc/check/gst/typefindfunctions/src/typefindfunctions.c
changeset 16 8e837d1bf446
parent 0 0e761a78d257
child 9 2a0f36a70380
--- a/gst_plugins_base/tsrc/check/gst/typefindfunctions/src/typefindfunctions.c	Wed Mar 24 17:58:42 2010 -0500
+++ b/gst_plugins_base/tsrc/check/gst/typefindfunctions/src/typefindfunctions.c	Wed Mar 24 18:04:17 2010 -0500
@@ -48,11 +48,20 @@
 
 void create_xml(int result)
 {
+
     if(result)
+    {
         assert_failed = 1;
-    
+    } 
+
     testResultXml(xmlfile);
     close_log_file();
+
+    if(result)
+    {
+        exit (-1);
+    }    
+
 }
 
 void test_quicktime_mpeg4video()