equal
deleted
inserted
replaced
24 #include "std_log_result.h" |
24 #include "std_log_result.h" |
25 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
25 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
26 |
26 |
27 void create_xml(int result) |
27 void create_xml(int result) |
28 { |
28 { |
29 |
|
30 if(result) |
29 if(result) |
31 { |
|
32 assert_failed = 1; |
30 assert_failed = 1; |
33 } |
31 |
34 |
|
35 testResultXml(xmlfile); |
32 testResultXml(xmlfile); |
36 close_log_file(); |
33 close_log_file(); |
37 |
|
38 if(result) |
|
39 { |
|
40 exit (-1); |
|
41 } |
|
42 |
|
43 } |
34 } |
44 |
35 |
45 |
36 |
46 #include <gst/check/gstcheck.h> |
37 #include <gst/check/gstcheck.h> |
47 #include <gst/gst.h> |
38 #include <gst/gst.h> |
49 |
40 |
50 #if EMULATOR |
41 #if EMULATOR |
51 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
42 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean) |
52 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
43 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)()) |
53 #else |
44 #else |
54 IMPORT_C extern gboolean _gst_check_raised_critical; |
45 extern gboolean _gst_check_raised_critical; |
55 #endif |
46 #endif |
56 |
47 |
57 #if EMULATOR |
48 #if EMULATOR |
58 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
49 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean) |
59 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
50 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)()) |
60 #else |
51 #else |
61 IMPORT_C extern gboolean _gst_check_expecting_log; |
52 extern gboolean _gst_check_expecting_log; |
62 #endif |
53 #endif |
63 |
54 |
64 /* some minimal dummy object */ |
55 /* some minimal dummy object */ |
65 #define GST_TYPE_DUMMY_OBJ gst_dummy_obj_get_type() |
56 #define GST_TYPE_DUMMY_OBJ gst_dummy_obj_get_type() |
66 |
57 |