gstreamer_core/tsrc/check/gst/gstminiobject/src/gstminiobject.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 
       
    36     if(result)
    35     if(result)
    37     {
       
    38         assert_failed = 1;
    36         assert_failed = 1;
    39     } 
    37     
    40 
       
    41     testResultXml(xmlfile);
    38     testResultXml(xmlfile);
    42     close_log_file();
    39     close_log_file();
    43 
       
    44     if(result)
       
    45     {
       
    46         exit (-1);
       
    47     }    
       
    48 
       
    49 }
    40 }
    50 
    41 
    51 #if EMULATOR
    42 #if EMULATOR
    52 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean)
    43 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean)
    53 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)())
    44 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)())