~emersion/mrsh

ref: 41bcddb91a9ab4fa0c5ae2e53cdf9a3a8b4ef10c mrsh/test/meson.build -rw-r--r-- 413 bytes View raw
                                                                                
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
harness = find_program('./harness.sh')
ref_sh = find_program('sh', required: false)

test_files = [
	'conformance/if.sh',

	'case.sh',
	'for.sh',
	'function.sh',
	'loop.sh',
	'subshell.sh',
	'ulimit.sh',
	'word.sh',
]

foreach test_file : test_files
	test(
		test_file,
		harness,
		env: [
			'MRSH=@0@'.format(mrsh_exe.full_path()),
			'REF_SH=@0@'.format(ref_sh.path()),
		],
		args: [test_file],
	)
endforeach