File: 81-skip-monitor-test-on-non-linux.patch

package info (click to toggle)
glib2.0 2.58.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 48,444 kB
  • sloc: ansic: 452,195; xml: 16,781; python: 6,149; makefile: 3,776; sh: 1,499; perl: 1,140; cpp: 9
file content (23 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Emilio Pozuelo Monfort <pochu@debian.org>
Date: Sun, 9 Mar 2014 15:06:31 +0100
Subject: Skip the monitor test on non-linux as it currently hangs

Forwarded: no
---
 gio/tests/monitor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gio/tests/monitor.c b/gio/tests/monitor.c
index 4d64fa8..01d91a0 100644
--- a/gio/tests/monitor.c
+++ b/gio/tests/monitor.c
@@ -214,7 +214,9 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
+#ifdef __linux__
   g_test_add ("/monitor/directory", Fixture, NULL, setup, test_directory_monitor, teardown);
+#endif
 
   return g_test_run ();
 }