From 8a747ea71e3840cbd8e771ea5c6b17e2657fc7a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 1 Oct 2019 03:43:18 +0200 Subject: tests: Use meson suites Make possible to easily (not) run a sub-set of tests by using suites in tracker. Fixes https://gitlab.gnome.org/GNOME/tracker/issues/153 --- tests/functional-tests/ipc/meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/functional-tests/ipc') diff --git a/tests/functional-tests/ipc/meson.build b/tests/functional-tests/ipc/meson.build index e8e85d0dc..4bcfb0540 100644 --- a/tests/functional-tests/ipc/meson.build +++ b/tests/functional-tests/ipc/meson.build @@ -17,16 +17,18 @@ test_env.set('TRACKER_TEST_DOMAIN_ONTOLOGY_RULE', tracker_uninstalled_domain_rul insert_or_replace_test = executable('test-insert-or-replace', 'test-insert-or-replace.vala', tracker_sparql_vapi, dependencies: [tracker_common_dep, tracker_sparql_dep]) -test('functional-ipc-insert-or-replace', python, +test('insert-or-replace', python, args: sandbox_args + [insert_or_replace_test], - env: test_env) + env: test_env, + suite: ['functional', 'ipc']) bus_query_cancellation_test = executable('test-bus-query-cancellation', 'test-bus-query-cancellation.c', c_args: functional_ipc_test_c_args, dependencies: [tracker_common_dep, tracker_sparql_dep]) -test('functional-ipc-bus-query-cancellation', python, +test('bus-query-cancellation', python, args: sandbox_args + [bus_query_cancellation_test], env: test_env, + suite: ['functional', 'ipc'], timeout: 60) -- cgit v1.2.1