[glib/wip/hadess/add-memory-monitor: 11/12] tests: Disable another	timeout test by default
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib/wip/hadess/add-memory-monitor: 11/12] tests: Disable another	timeout test by default
- Date: Wed, 11 Dec 2019 11:43:30 +0000 (UTC)
commit a5e27d4ccfaaed986a0f38e67f604b456eb127dc
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 4 15:47:01 2019 +0100
    tests: Disable another timeout test by default
    
    Don't run this timeout test unless "thorough" tests are requested.
    
    See commit 3894335dc6e57812eb72dcc4ed57c7d3b0bc30f9
 glib/tests/mainloop.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c
index c3652a7e4..a6dcc794f 100644
--- a/glib/tests/mainloop.c
+++ b/glib/tests/mainloop.c
@@ -172,6 +172,12 @@ test_timeouts (void)
   GMainLoop *loop;
   GSource *source;
 
+  if (!g_test_thorough ())
+    {
+      g_test_skip ("Not running timing heavy test");
+      return;
+    }
+
   a = b = c = 0;
 
   ctx = g_main_context_new ();
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]