diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-01-21 19:41:45 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-01-21 19:41:45 +0000 |
commit | 23b5b27e1c389494a91be3c7226b2bb0e8fb16c5 (patch) | |
tree | f9cc72a6ed9f99783115cf7194eafa5ff8466bd4 /tests/check/elements | |
parent | a973a4f154d9e17ed6551f3511f6a2bdc38f580f (diff) |
tests/check/Makefile.am: Fix up some CFLAGS sets.
Original commit message from CVS:
* tests/check/Makefile.am:
Fix up some CFLAGS sets.
Don't include gconfvideosrc in the states test.
* tests/check/elements/autodetect.c: (GST_START_TEST):
Add some error strings to fail_unless arguments to fix some weird
compiler errors on Solaris.
Diffstat (limited to 'tests/check/elements')
-rw-r--r-- | tests/check/elements/autodetect.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/check/elements/autodetect.c b/tests/check/elements/autodetect.c index a7b61909..0eb798b1 100644 --- a/tests/check/elements/autodetect.c +++ b/tests/check/elements/autodetect.c @@ -56,8 +56,9 @@ GST_START_TEST (test_autovideosink_ghostpad_error_case) gst_bin_add_many (GST_BIN (pipeline), src, filter, sink, NULL); - fail_unless (gst_element_link (src, filter)); - fail_unless (gst_element_link (filter, sink)); + fail_unless (gst_element_link (src, filter), "Failed to link src to filter"); + fail_unless (gst_element_link (filter, sink), + "Failed to link filter to sink"); /* this should fail, there's no such format */ state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); @@ -68,7 +69,8 @@ GST_START_TEST (test_autovideosink_ghostpad_error_case) * deadlock or block anywhere when autovideosink resets the ghostpad * targets etc. */ state_ret = gst_element_set_state (pipeline, GST_STATE_NULL); - fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); + fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS, + "State change on pipeline failed"); /* clean up */ gst_object_unref (pipeline); |