[gnome-desktop-testing] Fix -l to not hang forever
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop-testing] Fix -l to not hang forever
- Date: Tue, 28 May 2013 16:46:16 +0000 (UTC)
commit 3d3a00457ad668da53088f102986f9790097d922
Author: Colin Walters <walters verbum org>
Date: Tue May 28 12:46:03 2013 -0400
Fix -l to not hang forever
src/gnome-desktop-testing-runner.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-desktop-testing-runner.c b/src/gnome-desktop-testing-runner.c
index 0ae298d..773fe33 100755
--- a/src/gnome-desktop-testing-runner.c
+++ b/src/gnome-desktop-testing-runner.c
@@ -422,12 +422,11 @@ main (int argc, char **argv)
else
{
reschedule_tests (app->cancellable);
+ g_main_loop_run (app->loop);
+ if (app->test_error)
+ g_propagate_error (error, app->test_error);
}
- g_main_loop_run (app->loop);
- if (app->test_error)
- g_propagate_error (error, app->test_error);
-
ret = TRUE;
out:
g_clear_pointer (&app->tests, g_ptr_array_unref);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]