[farsight2/master] msn: Print error on test failure
Olivier Crête
olivier.crete at collabora.co.uk
Mon Aug 3 11:32:01 PDT 2009
---
tests/check/msn/conference.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/check/msn/conference.c b/tests/check/msn/conference.c
index d22198a..22abd56 100644
--- a/tests/check/msn/conference.c
+++ b/tests/check/msn/conference.c
@@ -232,8 +232,8 @@ setup_conference (FsStreamDirection dir, struct SimpleMsnConference *target)
GST_ELEMENT (dat->conf)));
dat->part = fs_conference_new_participant (dat->conf, "", &error);
+ ts_fail_unless (error == NULL, "Error: %s", error ? error->message: "");
ts_fail_unless (dat->part != NULL);
- ts_fail_unless (error == NULL);
dat->session = fs_conference_new_session (dat->conf, FS_MEDIA_TYPE_VIDEO,
&error);
--
1.5.6.5
More information about the farsight-commits
mailing list