[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 114/116] tests: Use meson suites
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/shuffle-libtracker-miner: 114/116] tests: Use meson suites
- Date: Thu, 12 Dec 2019 12:16:05 +0000 (UTC)
commit 0ea67344dfdc2919c93d6eb5ce12a9c5119979e7
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Tue Oct 1 03:43:18 2019 +0200
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/libtracker-miner/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/libtracker-miner/meson.build b/tests/libtracker-miner/meson.build
index 4f665161c..b93e501e3 100644
--- a/tests/libtracker-miner/meson.build
+++ b/tests/libtracker-miner/meson.build
@@ -38,7 +38,8 @@ foreach base_name: libtracker_miner_tests
link_with: [libtracker_miner_private])
test(test_name, binary,
- env: libtracker_miner_test_environment)
+ env: libtracker_miner_test_environment,
+ suite: 'miner')
endforeach
foreach base_name: libtracker_miner_slow_tests
@@ -53,5 +54,6 @@ foreach base_name: libtracker_miner_slow_tests
test(test_name, binary,
env: libtracker_miner_test_environment,
- timeout: 180)
+ timeout: 180,
+ suite: ['miner', 'slow'])
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]