jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=01f0b600ac9a8b34bcba029f3228826ed6220273
commit 01f0b600ac9a8b34bcba029f3228826ed6220273 Author: Jean-Philippe ANDRE <[email protected]> Date: Tue Mar 4 22:31:02 2014 +0900 Ecore suite: Don't fail if PulseAudio is not running In a previous commit I mentionned that make check would fail if PulseAudio is not running. Well, this is a bit excessive, especially for buildbots where it doesn't have to be running. So let's check that PulseAudio is running before failing. Other errors should still be caught. A simple "pulseaudio --check" should do the trick. --- src/tests/ecore/ecore_test_ecore_audio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c index 78e13e5..8c33fd0 100644 --- a/src/tests/ecore/ecore_test_ecore_audio.c +++ b/src/tests/ecore/ecore_test_ecore_audio.c @@ -17,7 +17,11 @@ static Eina_Bool _failed_cb(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Desc { Eina_Bool *pulse_context_failed = data; - if (pulse_context_failed) *pulse_context_failed = EINA_TRUE; + if (pulse_context_failed) + { + int pa_check = system("pulseaudio --check"); + *pulse_context_failed = (pa_check == 0); + } ecore_main_loop_quit(); return EINA_TRUE; --
