~emersion/mrsh

ref: 96e8a9052376e5c720235d3369e9dc1d994708b2 mrsh/test/meson.build -rw-r--r-- 617 bytes
96e8a905Simon Ser parser/word: fix parser not failing on some errors in back-quotes 1 year, 17 days 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
harness = find_program('./harness.sh')
ref_sh = find_program(get_option('reference-shell'), required: false)

test_files = [
	'conformance/if.sh',

	'args.sh',
	'arithm.sh',
	'async.sh',
	'case.sh',
	'command.sh',
	'for.sh',
	'function.sh',
	'loop.sh',
	'pipeline.sh',
	'read.sh',
	'readonly.sh',
	'redir.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