Sebastian Dröge
516611bc33
check: Fix event handling in gst_check_element_push_buffer_list()
2013-05-15 11:22:25 +02:00
Nicolas Dufresne
a1866e64c5
check: Add helper that sends initial events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:23:28 +02:00
Tim-Philipp Müller
b48400b7a4
check: set CK_TIMEOUT_MULTIPLIER on ARM
...
https://bugzilla.gnome.org/show_bug.cgi?id=695599
2013-04-27 11:49:52 +01:00
Tim-Philipp Müller
e2b09b1ab9
check: run skipped tests if explicitly requested via GST_CHECKS
...
If a test that's disabled with tcase_skip_broken_test() is listed
in the GST_CHECKS environment variable, run it anyway.
2013-04-18 00:19:23 +01:00
Tim-Philipp Müller
22b7c0bf58
check: add some more fail_unless_*() macros for convenience
...
API: fail_unless_equals_int_hex
API: assert_equals_int_hex
API: fail_unless_equals_int64_hex
API: assert_equals_int64_hex
API: fail_unless_equals_uint64_hex
API: assert_equals_uint64_hex
API: fail_unless_equals_pointer
API: assert_equals_pointer
2013-02-19 17:40:20 +00:00
Tim-Philipp Müller
64eee27ebc
Use GST_*_1_0 environment variables everywhere
...
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-15 13:47:32 +00:00
Sebastian Dröge
e58dabc750
libs: Use foo/foo.h as single-include header consistently everywhere
...
https://bugzilla.gnome.org/show_bug.cgi?id=688785
2012-12-12 16:44:14 +00:00
Tim-Philipp Müller
b9386d7659
testclock: remove unnecessary include
2012-11-23 13:34:24 +00:00
Evan Nemerson
1afb1f12ef
libs: Add missing single include headers and use them in GIRs
2012-11-21 11:00:40 +01:00
Tim-Philipp Müller
fa368f2aa3
testclock: port to new GLib threading API
2012-11-14 10:55:15 +00:00
Tim-Philipp Müller
c6cc50e6de
testclock: minor cleanups, add since markers for gtk-doc
...
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 22:43:04 +00:00
Sebastian Rasmussen
4eeb471e11
check: allow GstTestClock to handle clock notifications
...
API: gst_test_clock_peek_id_count()
API: gst_test_clock_has_id()
API: gst_test_clock_peek_next_pending_id()
API: gst_test_clock_wait_for_next_pending_id()
API: gst_test_clock_wait_for_pending_id_count()
API: gst_test_clock_process_next_clock_id()
API: gst_test_clock_get_next_entry_time()
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:47:01 +00:00
Tim-Philipp Müller
77005be192
check: add dependency on gstcheck header files for exports.sym
...
So exports.sym gets updated correctly, and our new symbols get
exported correctly, which makes g-ir-scanner much happier in
terms of linking.
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:46:32 +00:00
Sebastian Rasmussen
e58da2a22d
check: add GstTestClock as a deterministic clock for testing
...
API: GstTestClock
API: gst_test_clock_new()
API: gst_test_clock_new_with_start_time()
API: gst_test_clock_set_time()
API: gst_test_clock_advance_time()
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:19:57 +00:00
Tim-Philipp Müller
666c8c11c6
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:44:48 +00:00
Tim-Philipp Müller
073c09afe0
g-i: fix "can't resolve libraries to shared libraries: gstcheck-1.0" build error
...
Revert --library=libfoo-1.0.la -> --library=foo-1.0 change made
in previous commit. Turns out that was wrong, despite what the
man page says.
https://bugzilla.gnome.org/show_bug.cgi?id=603710
2012-10-29 13:27:55 +00:00
Tim-Philipp Müller
21a74a6b79
libs: g-i: avoid multiple libraries in the shared-library tag
...
Using multiple libraries causes problems for the C# bindings and
will for similiar languages such as Java when there are bindings
for them.
Also change --library=libgstfoo-X.la to --library=gstfoo-X as
the man page suggests it should be done.
https://bugzilla.gnome.org/show_bug.cgi?id=679315
2012-10-28 17:20:10 +00:00
Sebastian Dröge
1042857f33
configure: Properly check for pthread
...
The old check failed on Android for example.
2012-10-22 15:05:24 +02:00
Tim-Philipp Müller
7eb64ad7a9
check: fix FIXME printing for tcase_skip_broken_test()
2012-09-23 19:56:43 +01:00
Tim-Philipp Müller
ca90ea6e55
Remove GST_USE_UNSTABLE_API guard and defines
2012-09-17 13:35:26 +01:00
Mark Nauwelaerts
9454c8c626
check: remove glib deprecation compatibility trickery
2012-09-12 13:02:06 +02:00
Mark Nauwelaerts
bb4860d961
check: port to the new GLib thread API
2012-09-12 13:01:18 +02:00
Wim Taymans
00c6fa74f5
events: remove STREAM_CONFIG
...
We won't be able to implement this so it's better to move it out of the way.
2012-09-11 16:29:12 +02:00
Tim-Philipp Müller
1c3ade2d0f
consistencychecker: add some more details to failure messages
...
Mention pad where the problem occured, and the event name.
2012-08-12 19:39:46 +01:00
Tim-Philipp Müller
11ce044cc4
consistencychecker: print which event we received before stream-start
2012-08-06 20:08:07 +01:00
Tim-Philipp Müller
c0f1ff5f79
check: add tcase_skip_broken_test() define
...
Skips broken tests but logs an ERROR-level message to
draw attention to that fact.
2012-08-05 17:16:27 +01:00
Sjoerd Simons
8d9a4b2e94
check: unbreak fail #define
...
The fail() definition was changed to not fail with non-GCC compilers,
unfortunately the change was incorrect and appended the first argument
of fail to the expression string instead of making it the message.
This change does mean that fail() now requires a message to be passed
along.
https://bugzilla.gnome.org/show_bug.cgi?id=680755
2012-07-30 16:20:02 +01:00
Edward Hervey
d3ffa82639
Remove 0.10-related documentation and "Since" markers
2012-07-10 12:03:27 +02:00
Edward Hervey
617eba488a
consistencychecker: Check for STREAM_START event
...
Check that it is always before any serialized event.
2012-07-06 12:48:43 +02:00
Evan Nemerson
74c74fd119
check: add some missing documentation, including annotations
2012-06-19 19:53:54 -07:00
Wim Taymans
a1c5b00e72
memory: make GstMemory a miniobject
2012-06-14 16:34:28 +02:00
Tim-Philipp Müller
e7dd426a82
check: check for GLib-GIO criticals as well
2012-05-28 00:08:56 +01:00
Edward Hervey
ff289bbc76
consistencychecker: Use gst_object_{ref|unref} where applicable
...
Allows us to debug object life
2012-04-12 14:59:31 +02:00
Sebastian Dröge
b0d89da6b6
gst: Change versioning
...
Remove GST_MAJORMINOR and replace it by GST_API_VERSION
Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely
now.
All versions are at 1.0.0 now for the release soon but
API/ABI can still change until the 1.0.0 release.
Next release versions until 1.0.0 will be 0.10.9X and
these will be release candidates. GST_VERSION_* will
nonetheless stay at 1.0.0.0.
2012-04-04 14:28:55 +02:00
Mark Nauwelaerts
1e37964202
consistencychecker: allow some more events before a segment event
2012-04-03 18:26:12 +02:00
Sebastian Dröge
6b4091a30d
Merge branch 'master' into 0.11
...
Conflicts:
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbasetransform.c
plugins/elements/gsttee.c
2012-03-08 10:19:52 +01:00
Tim-Philipp Müller
17985ac85e
libgstcheck: export gst_consistency_checker_add_pad()
...
Fix build of the adder unit test in -base again.
2012-03-05 00:34:36 +00:00
Stefan Sauer
7141ad3ce6
consitencychecker: don't fail on multiple flush_start events
...
This seems to be okay after a irc discussion.
2012-03-02 12:16:03 +01:00
Sebastian Dröge
a8dcb63616
libs: Fix some merge mistakes
2012-03-01 14:51:26 +01:00
Sebastian Dröge
99a8cd1048
Merge branch 'master' into 0.11
...
Conflicts:
libs/gst/base/gstcollectpads2.c
libs/gst/check/gstconsistencychecker.c
2012-03-01 14:43:01 +01:00
Stefan Sauer
43a6f5a63d
consitencychecker: add handling for sink-pads
...
Add a pad-probe for sink-pads. One can now add extra pads (belonging to the same
element) to a checker. This allows us to extend the checks.
2012-02-29 22:00:16 +01:00
Stefan Sauer
ac03c328d5
consistencychecker: also check for duplicated flush_starts
2012-02-29 08:44:04 +01:00
Olivier Crête
8f8335a7f4
check: Update gst_check_element_push_buffer to 0.11 style caps
...
Pass the desired caps explicitely
2012-01-28 16:42:38 +00:00
Wim Taymans
a521252845
Add new GstMapInfo
...
Use a structure to hold info about the mapping. The application then keeps track
of this state and we can use it to unmap the memory again later.
2012-01-25 11:54:23 +01:00
Sebastian Dröge
35ea12eeea
Merge branch 'master' into 0.11
2012-01-25 11:43:13 +01:00
Vincent Penquerc'h
28d5e81503
libcheck: make the definition of fail not fail with non GCC compilers
2012-01-20 18:06:04 +00:00
Wim Taymans
ad659abe8e
check: add macro to check for memory refcount
2012-01-05 13:09:29 +01:00
Tim-Philipp Müller
ed80a5cd4b
registry: rename gst_registry_get_default() to gst_registry_get()
...
It's not really a default if there is only one that can't be changed.
Should we return a ref like e.g. g_volume_monitor_get() does?
2012-01-02 02:22:51 +00:00
Tim-Philipp Müller
eaa2d81474
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst/gstindexfactory.c
libs/gst/base/gstbasetransform.c
plugins/elements/gstfakesink.c
plugins/elements/gstfakesrc.c
plugins/elements/gstidentity.c
plugins/elements/gstinputselector.c
plugins/elements/gstoutputselector.c
Note: did not merge any of the basetransform changes from 0.10.
2011-12-08 00:39:10 +00:00
Tim-Philipp Müller
8811cbc5aa
check: allow non-joinable threads in private g_thread_create() copy
...
Looks like some tests use non-joinable threads after all.
2011-12-04 21:20:07 +00:00