blob: e0647d9f2564b2b9872c01ecfa82f822d4985094 (
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
|
tests = []
subdir('common')
subdir('gvdb')
subdir('libtracker-common')
subdir('libtracker-data')
subdir('libtracker-fts')
subdir('libtracker-sparql')
subdir('functional-tests')
foreach t: tests
test_name = t.get('name')
test_exe = t.get('exe')
test_suite = t.get('suite', [])
test_timeout = t.get('timeout', 30)
# This flag marks unit tests which can't run alongside other unit tests. It
# generally indicates a bug or design flaw in that test.
test_is_parallel = t.get('is_parallel', true)
test_env = environment()
test_env.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', join_paths(source_root, 'src', 'libtracker-common', 'stop-words'))
test_env.set('LANG', 'en_US.UTF8')
test(test_name, test_exe,
env: test_env,
timeout: test_timeout,
suite: test_suite,
is_parallel: test_is_parallel)
endforeach
|