mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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>
|
2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Murray Cumming <murrayc@murrayc.com>
|
Patch by: Murray Cumming <murrayc@murrayc.com>
|
||||||
|
|
|
@ -155,11 +155,7 @@ GST_END_TEST
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
#if 0
|
||||||
* main thread sets and gets name while other threads set the name
|
|
||||||
* constantly; fails because lock is released inbetween set and get
|
|
||||||
*/
|
|
||||||
|
|
||||||
GST_START_TEST (test_fake_object_name_threaded_wrong)
|
GST_START_TEST (test_fake_object_name_threaded_wrong)
|
||||||
{
|
{
|
||||||
GstObject *object;
|
GstObject *object;
|
||||||
|
@ -194,7 +190,9 @@ GST_START_TEST (test_fake_object_name_threaded_wrong)
|
||||||
fail_unless (expected_failure, "name did not get changed");
|
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
|
* 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
|
* 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);
|
suite_add_tcase (s, tc_chain);
|
||||||
tcase_add_test (tc_chain, test_fake_object_new);
|
tcase_add_test (tc_chain, test_fake_object_new);
|
||||||
tcase_add_test (tc_chain, test_fake_object_name);
|
tcase_add_test (tc_chain, test_fake_object_name);
|
||||||
|
#if 0
|
||||||
tcase_add_test (tc_chain, test_fake_object_name_threaded_wrong);
|
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_right);
|
||||||
tcase_add_test (tc_chain, test_fake_object_name_threaded_unique);
|
tcase_add_test (tc_chain, test_fake_object_name_threaded_unique);
|
||||||
tcase_add_test (tc_chain, test_fake_object_parentage);
|
tcase_add_test (tc_chain, test_fake_object_parentage);
|
||||||
|
|
Loading…
Reference in a new issue