equal
deleted
inserted
replaced
38 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
38 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
39 //char* xmlfile = "identity"; |
39 //char* xmlfile = "identity"; |
40 |
40 |
41 void create_xml(int result) |
41 void create_xml(int result) |
42 { |
42 { |
43 |
|
44 if(result) |
43 if(result) |
45 { |
|
46 assert_failed = 1; |
44 assert_failed = 1; |
47 } |
45 |
48 |
|
49 testResultXml(xmlfile); |
46 testResultXml(xmlfile); |
50 close_log_file(); |
47 close_log_file(); |
51 |
|
52 if(result) |
|
53 { |
|
54 exit (-1); |
|
55 } |
|
56 |
|
57 } |
48 } |
58 |
49 |
59 #include "libgstreamer_wsd_solution.h" |
50 #include "libgstreamer_wsd_solution.h" |
60 |
51 |
61 #if EMULATOR |
52 #if EMULATOR |
62 static GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*) |
53 static GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*) |
63 #define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)()) |
54 #define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)()) |
64 #else |
55 #else |
65 IMPORT_C extern GList *buffers; |
56 extern GList *buffers; |
66 #endif |
57 #endif |
67 |
58 |
68 static gboolean have_eos = FALSE; |
59 static gboolean have_eos = FALSE; |
69 |
60 |
70 /* For ease of programming we use globals to keep refs for our floating |
61 /* For ease of programming we use globals to keep refs for our floating |