38 |
38 |
39 #if EMULATOR |
39 #if EMULATOR |
40 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
40 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
41 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
41 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
42 #else |
42 #else |
43 IMPORT_C extern gboolean _gst_check_raised_critical; |
43 extern gboolean _gst_check_raised_critical; |
44 #endif |
44 #endif |
45 |
45 |
46 //gboolean _gst_check_expecting_log = FALSE; |
46 //gboolean _gst_check_expecting_log = FALSE; |
47 #if EMULATOR |
47 #if EMULATOR |
48 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
48 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
49 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
49 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
50 #else |
50 #else |
51 IMPORT_C extern gboolean _gst_check_expecting_log; |
51 extern gboolean _gst_check_expecting_log; |
52 #endif |
52 #endif |
53 |
53 |
54 //char* xmlfile = "gstsystemclock"; |
54 //char* xmlfile = "gstsystemclock"; |
55 |
55 |
56 void create_xml(int result) |
56 void create_xml(int result) |
57 { |
57 { |
58 |
|
59 if(result) |
58 if(result) |
60 { |
|
61 assert_failed = 1; |
59 assert_failed = 1; |
62 } |
60 |
63 |
|
64 testResultXml(xmlfile); |
61 testResultXml(xmlfile); |
65 close_log_file(); |
62 close_log_file(); |
66 |
|
67 if(result) |
|
68 { |
|
69 exit (-1); |
|
70 } |
|
71 |
|
72 } |
63 } |
73 |
64 |
74 static gboolean |
65 static gboolean |
75 structure_contains_channel_positions (const GstStructure * s) |
66 structure_contains_channel_positions (const GstStructure * s) |
76 { |
67 { |