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