[rhythmbox/wip/hadess/single-test-timeout] tests: Disable libcheck timeout
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/single-test-timeout] tests: Disable libcheck timeout
- Date: Mon, 29 Nov 2021 16:10:40 +0000 (UTC)
commit af7ef9a030aa5fa63bfbcbeb450aa46310dc648a
Author: Bastien Nocera <hadess hadess net>
Date: Mon Nov 29 17:10:02 2021 +0100
tests: Disable libcheck timeout
Rely on the meson test timeout instead.
tests/meson.build | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 115ea198a..2eb468282 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -4,34 +4,46 @@ if enable_check
['test-rhythmdb.c', 'test-utils.c'],
dependencies: [rhythmbox_core_dep, check],
c_args: ['-DTEST_DIR="@0@"'.format(meson.current_source_dir())]),
- depends: gschemas_compiled)
+ depends: gschemas_compiled,
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test('test-rhythmdb-query-model',
executable('test-rhythmdb-query-model',
['test-rhythmdb-query-model.c', 'test-utils.c'],
dependencies: [rhythmbox_core_dep, check]),
- depends: gschemas_compiled)
+ depends: gschemas_compiled,
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test('test-rhythmdb-property-model',
executable('test-rhythmdb-property-model',
['test-rhythmdb-property-model.c', 'test-utils.c'],
dependencies: [rhythmbox_core_dep, check]),
- depends: gschemas_compiled)
+ depends: gschemas_compiled,
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test('test-file-helpers',
executable('test-file-helpers',
['test-file-helpers.c', 'test-utils.c'],
- dependencies: [rhythmbox_core_dep, check]))
+ dependencies: [rhythmbox_core_dep, check]),
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test('test-rb-lib',
executable('test-rb-lib',
['test-rb-lib.c', 'test-utils.c'],
- dependencies: [rhythmbox_core_dep, check]))
+ dependencies: [rhythmbox_core_dep, check]),
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test('test-audioscrobbler',
executable('test-audioscrobbler',
['test-audioscrobbler.c', 'test-utils.c'],
- dependencies: [rhythmbox_core_dep, audioscrobbler_test_dep, check]))
+ dependencies: [rhythmbox_core_dep, audioscrobbler_test_dep, check]),
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
test_widgets_resources = gnome.compile_resources('test-widgets-resources', 'test-widgets.gresource.xml',
source_dir: ['../data'])
@@ -39,7 +51,9 @@ if enable_check
executable('test-widgets',
['test-widgets.c', 'test-utils.c', test_widgets_resources],
dependencies: [rhythmbox_core_dep, check]),
- depends: gschemas_compiled)
+ depends: gschemas_compiled,
+ env: ['CK_DEFAULT_TIMEOUT=0'],
+ )
executable('bench-rhythmdb-load',
'bench-rhythmdb-load.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]