-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathmeson.build
50 lines (43 loc) · 1.05 KB
/
meson.build
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
48
49
50
testenv = environment()
testenv.set('HOME', meson.build_root())
testenv.set('PACKAGE', meson.project_name())
testenv.set('VERSION', meson.project_version())
testenv.set('top_srcdir', meson.source_root())
testenv.set('top_builddir', meson.build_root())
subdir('basic')
test_driver = find_program('test-driver')
# this is used in several subdirs
cmake = find_program('cmake', required: false)
python3 = find_program('python3', required: false)
tests = []
subdir('download')
subdir('hints')
subdir('aspell')
subdir('autotools')
subdir('compressions')
subdir('cmake')
subdir('cross')
subdir('docbook')
subdir('files')
subdir('font')
subdir('httpd')
subdir('logic')
subdir('lua')
subdir('meson')
subdir('ocaml')
subdir('perl')
subdir('php')
subdir('python')
subdir('qmake')
subdir('R')
subdir('ruby')
subdir('texlive')
subdir('waf')
foreach t : tests
test(t[0], test_driver,
args: t[0],
env: testenv,
is_parallel: t.length() > 1 ? false : true,
timeout: t.length() > 1 ? t[1] : 240)
endforeach
test('vars', find_program('vars'), env: testenv, timeout: 0)