27 #include "std_log_result.h" |
27 #include "std_log_result.h" |
28 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
28 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
29 |
29 |
30 void create_xml(int result) |
30 void create_xml(int result) |
31 { |
31 { |
32 |
|
33 if(result) |
32 if(result) |
34 { |
|
35 assert_failed = 1; |
33 assert_failed = 1; |
36 } |
34 |
37 |
|
38 testResultXml(xmlfile); |
35 testResultXml(xmlfile); |
39 close_log_file(); |
36 close_log_file(); |
40 |
|
41 if(result) |
|
42 { |
|
43 exit (-1); |
|
44 } |
|
45 |
|
46 } |
37 } |
47 |
38 |
48 //gboolean _gst_check_debug = FALSE; |
39 //gboolean _gst_check_debug = FALSE; |
49 #if EMULATOR |
40 #if EMULATOR |
50 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
41 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
51 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
42 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
52 #else |
43 #else |
53 IMPORT_C extern gboolean _gst_check_raised_critical; |
44 extern gboolean _gst_check_raised_critical; |
54 #endif |
45 #endif |
55 //gboolean _gst_check_raised_warning = FALSE; |
46 //gboolean _gst_check_raised_warning = FALSE; |
56 #if EMULATOR |
47 #if EMULATOR |
57 static GET_GLOBAL_VAR_FROM_TLS(raised_warning,gstcheck,gboolean) |
48 static GET_GLOBAL_VAR_FROM_TLS(raised_warning,gstcheck,gboolean) |
58 #define _gst_check_raised_warning (*GET_GSTREAMER_WSD_VAR_NAME(raised_warning,gstcheck,g)()) |
49 #define _gst_check_raised_warning (*GET_GSTREAMER_WSD_VAR_NAME(raised_warning,gstcheck,g)()) |
59 #else |
50 #else |
60 IMPORT_C extern gboolean _gst_check_raised_warning; |
51 extern gboolean _gst_check_raised_warning; |
61 #endif |
52 #endif |
62 //gboolean _gst_check_expecting_log = FALSE; |
53 //gboolean _gst_check_expecting_log = FALSE; |
63 #if EMULATOR |
54 #if EMULATOR |
64 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
55 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
65 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
56 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
66 #else |
57 #else |
67 IMPORT_C extern gboolean _gst_check_expecting_log; |
58 extern gboolean _gst_check_expecting_log; |
68 #endif |
59 #endif |
69 |
60 |
70 |
61 |
71 /* multiple artists are possible */ |
62 /* multiple artists are possible */ |
72 #define UTAG GST_TAG_ARTIST |
63 #define UTAG GST_TAG_ARTIST |