diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-11-25 15:52:06 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-11-25 18:21:31 +0000 |
commit | adb948976ce36232f2d6c9137d6dd0e513326598 (patch) | |
tree | d9fab11d165eca9344b329b25b573a7de6ec84f0 /tests/libtracker-common | |
parent | fbbf5a41b1606fed73d1e7a14b51474aa0efe695 (diff) | |
download | tracker-adb948976ce36232f2d6c9137d6dd0e513326598.tar.gz |
tests: Fix failure in tracker-sched-test under jhbuild
jhbuild defaults to running under 'SCHED_IDLE'. The test asserts that
the test is initially using 'SCHED_OTHER' -- this is a bad idea, we
shouldn't be making assertions about the environment in which the user
is running the tests.
Diffstat (limited to 'tests/libtracker-common')
-rw-r--r-- | tests/libtracker-common/tracker-sched-test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/libtracker-common/tracker-sched-test.c b/tests/libtracker-common/tracker-sched-test.c index 74e0571c9..48bb21d8b 100644 --- a/tests/libtracker-common/tracker-sched-test.c +++ b/tests/libtracker-common/tracker-sched-test.c @@ -44,7 +44,6 @@ scheduler_is (gint scheduler) static void test_sched_set_and_get (void) { - g_assert (scheduler_is (SCHED_OTHER)); g_assert (tracker_sched_idle ()); #ifdef __linux__ g_assert (scheduler_is (SCHED_IDLE)); |