summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/nautilus-disable-tracker-tests.patch
blob: bcc7b38f33360483df3e8969072aa93dc8ae9a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
The tracker test hangs in the build container (see:
https://gitlab.gnome.org/GNOME/nautilus/-/issues/2486).

--- a/test/automated/displayless/meson.build	2022-09-10 00:52:50.348405729 -0400
+++ b/test/automated/displayless/meson.build	2022-09-10 00:53:07.267907525 -0400
@@ -34,41 +34,3 @@
     'test-file-operations-trash-or-delete.c'
   ]]
 ]
-
-tracker_tests = [
-  ['test-nautilus-search-engine-tracker', [
-    'test-nautilus-search-engine-tracker.c',
-  ]],
-]
-
-foreach t: tests
-  test(
-    t[0],
-    executable(t[0], t[1], files('test-utilities.c'), dependencies: libnautilus_dep),
-    env: [
-      test_env,
-      'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
-      'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir())
-    ],
-    timeout: 480
-  )
-endforeach
-
-
-
-# Tests that read and write from the Tracker index are run using 'tracker-sandbox'
-# script to use a temporary instance of tracker-miner-fs instead of the session one.
-foreach t: tracker_tests
-  test_exe = executable(t[0], t[1], files('test-utilities.c'), dependencies: libnautilus_dep)
-  test(
-    t[0],
-    tracker_sandbox,
-    args: ['--store-tmpdir', '--index-recursive-tmpdir', test_exe],
-    env: [
-      test_env,
-      'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
-      'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir())
-    ],
-    timeout: 480
-  )
-endforeach