~sircmpwn/ctools

ref: f2d583864b4c95633f8897b3e1d44b2fa5352899 ctools/test/meson.build -rw-r--r-- 591 bytes View raw
f2d58386 — Gabor Koszegi Implement fold 2 months ago
                                                                                
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
harness=join_paths(meson.current_source_dir(), 'harness.sh')
test_files = [
	'basename',
	'cat',
	'chgrp',
	'chmod',
	'chown',
	'cksum',
	'cmp',
	'comm',
	'dirname',
	'echo',
	'env',
	'false',
	'fold',
	'head',
	'logname',
	'nice',
	'nohup',
	'pwd',
	'rmdir',
	'sleep',
	'tee',
	'true',
	'tty',
	'uname',
]

xsi_tests = [
	'link',
	'unlink',
]

if get_option('xsi')
	test_files += xsi_tests
endif

foreach test_file : test_files
	test(
		test_file,
		find_program(test_file),
		env: [
			'HARNESS=@0@'.format(harness),
			'BUILDDIR=@0@'.format(meson.current_build_dir()),
		],
	)
endforeach