~emersion/mrsh

ref: f1342b124da2cf87e57f70bd8f1a9c221bca47fe mrsh/test/meson.build -rw-r--r-- 539 bytes View raw
f1342b12Simon Ser shell/task/word: implement parameter minus operator 8 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
harness = find_program('./harness.sh')
ref_sh = find_program('sh', required: false)

test_files = [
	'conformance/if.sh',

	'arithm.sh',
	'async.sh',
	'case.sh',
	'command.sh',
	'for.sh',
	'function.sh',
	'loop.sh',
	'pipeline.sh',
	'return.sh',
	'subshell.sh',
	'syntax.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: [join_paths(meson.current_source_dir(), test_file)],
	)
endforeach