gst_plugins_base/tsrc/check/generic/clock-selection/src/clock-selection.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    32 
    32 
    33 //char* xmlfile = "gstsystemclock";
    33 //char* xmlfile = "gstsystemclock";
    34 
    34 
    35 void create_xml(int result)
    35 void create_xml(int result)
    36 {
    36 {
    37 
       
    38     if(result)
    37     if(result)
    39     {
       
    40         assert_failed = 1;
    38         assert_failed = 1;
    41     } 
    39     
    42 
       
    43     testResultXml(xmlfile);
    40     testResultXml(xmlfile);
    44     close_log_file();
    41     close_log_file();
    45 
       
    46     if(result)
       
    47     {
       
    48         exit (-1);
       
    49     }    
       
    50 
       
    51 }
    42 }
    52 
    43 
    53 void test_add()
    44 void test_add()
    54 {
    45 {
    55   GstElement *pipeline;
    46   GstElement *pipeline;