gstreamer_core/tsrc/check/gst/gstregistry/src/gstregistry.c
changeset 8 4a7fac7dd34a
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
7:71e347f905f2 8:4a7fac7dd34a
    29 #include "std_log_result.h" 
    29 #include "std_log_result.h" 
    30 #define LOG_FILENAME_LINE __FILE__, __LINE__
    30 #define LOG_FILENAME_LINE __FILE__, __LINE__
    31 
    31 
    32 void create_xml(int result)
    32 void create_xml(int result)
    33 {
    33 {
       
    34 
    34     if(result)
    35     if(result)
       
    36     {
    35         assert_failed = 1;
    37         assert_failed = 1;
    36     
    38     } 
       
    39 
    37     testResultXml(xmlfile);
    40     testResultXml(xmlfile);
    38     close_log_file();
    41     close_log_file();
       
    42 
       
    43     if(result)
       
    44     {
       
    45         exit (-1);
       
    46     }    
       
    47 
    39 }
    48 }
    40 
    49 
    41 
    50 
    42 #include <gst/check/gstcheck.h>
    51 #include <gst/check/gstcheck.h>
    43 #include <string.h>
    52 #include <string.h>