~emersion/mrsh

ref: fd9074d7cc205c7bf53940b59ed5eec2d5827c0a mrsh/test/meson.build -rw-r--r-- 387 bytes
fd9074d7Drew DeVault Initial implementation of functions 3 years 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
harness = find_program('./harness.sh')
ref_sh = find_program('sh', required: false)

test_files = [
	'conformance/if.sh',

	'loop.sh',
	'subshell.sh',
	'word.sh',
	'for.sh',
	'function.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