projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072b1c6
)
tests: info: fix unit test when run with GST_DEBUG=*:9
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 18 Apr 2015 11:00:13 +0000
(12:00 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 18 Apr 2015 11:01:54 +0000
(12:01 +0100)
Only save the messages we're interested in and expecting.
When run with *:9 we might get additional TRACE level
messages from other categories and then we don't end up
with the number of messages we expect.
tests/check/gst/gstinfo.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstinfo.c
b/tests/check/gst/gstinfo.c
index
595b908
..
2f1ca72
100644
(file)
--- a/
tests/check/gst/gstinfo.c
+++ b/
tests/check/gst/gstinfo.c
@@
-39,7
+39,7
@@
printf_extension_log_func (GstDebugCategory * category,
dbg_msg = gst_debug_message_get (message);
fail_unless (dbg_msg != NULL);
- if (save_messages)
+ if (save_messages
&& g_str_equal (category->name, "check")
)
messages = g_list_append (messages, g_strdup (dbg_msg));
/* g_print ("%s\n", dbg_msg); */