equal
deleted
inserted
replaced
37 |
37 |
38 #if EMULATOR |
38 #if EMULATOR |
39 GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*) |
39 GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*) |
40 #define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)()) |
40 #define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)()) |
41 #else |
41 #else |
42 IMPORT_C extern GList *buffers; |
42 extern GList *buffers; |
43 #endif |
43 #endif |
44 |
44 |
45 #if EMULATOR |
45 #if EMULATOR |
46 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
46 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
47 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
47 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
51 |
51 |
52 #include <libgstreamer_wsd_solution.h> |
52 #include <libgstreamer_wsd_solution.h> |
53 |
53 |
54 void create_xml(int result) |
54 void create_xml(int result) |
55 { |
55 { |
56 |
|
57 if(result) |
56 if(result) |
58 { |
|
59 assert_failed = 1; |
57 assert_failed = 1; |
60 } |
58 |
61 |
|
62 testResultXml(xmlfile); |
59 testResultXml(xmlfile); |
63 close_log_file(); |
60 close_log_file(); |
64 |
|
65 if(result) |
|
66 { |
|
67 exit (-1); |
|
68 } |
|
69 |
|
70 } |
61 } |
71 |
62 |
72 |
63 |
73 /* For ease of programming we use globals to keep refs for our floating |
64 /* For ease of programming we use globals to keep refs for our floating |
74 * src and sink pads we create; otherwise we always have to do get_pad, |
65 * src and sink pads we create; otherwise we always have to do get_pad, |