mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
tests/check/gst/gstobject.c: Disable silly racy test that always fails on this combination of CPU and kernel.
Original commit message from CVS: * tests/check/gst/gstobject.c: Disable silly racy test that always fails on this combination of CPU and kernel.
This commit is contained in:
parent
8b2cdebd70
commit
b1ad4a6772
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
|
||||
|
||||
* tests/check/gst/gstobject.c:
|
||||
Disable silly racy test that always fails on this combination of CPU
|
||||
and kernel.
|
||||
|
||||
2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Murray Cumming <murrayc@murrayc.com>
|
||||
|
|
|
@ -155,11 +155,7 @@ GST_END_TEST
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* main thread sets and gets name while other threads set the name
|
||||
* constantly; fails because lock is released inbetween set and get
|
||||
*/
|
||||
|
||||
#if 0
|
||||
GST_START_TEST (test_fake_object_name_threaded_wrong)
|
||||
{
|
||||
GstObject *object;
|
||||
|
@ -194,7 +190,9 @@ GST_START_TEST (test_fake_object_name_threaded_wrong)
|
|||
fail_unless (expected_failure, "name did not get changed");
|
||||
}
|
||||
|
||||
GST_END_TEST
|
||||
GST_END_TEST;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* main thread sets and gets name directly on struct inside the object lock
|
||||
* succeed because lock is held during set/get, and threads are locked out
|
||||
|
@ -453,7 +451,9 @@ GST_END_TEST
|
|||
suite_add_tcase (s, tc_chain);
|
||||
tcase_add_test (tc_chain, test_fake_object_new);
|
||||
tcase_add_test (tc_chain, test_fake_object_name);
|
||||
#if 0
|
||||
tcase_add_test (tc_chain, test_fake_object_name_threaded_wrong);
|
||||
#endif
|
||||
tcase_add_test (tc_chain, test_fake_object_name_threaded_right);
|
||||
tcase_add_test (tc_chain, test_fake_object_name_threaded_unique);
|
||||
tcase_add_test (tc_chain, test_fake_object_parentage);
|
||||
|
|
Loading…
Reference in a new issue