summaryrefslogtreecommitdiff
path: root/tests/meson.build
blob: a96a6ccc6063ba9a93479c4b8b360786065dc2a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
env = environment()
env.set('APK', apk_exe.full_path())
env.set('SRC', meson.current_source_dir())

test_program = find_program('test-basic.sh')
test_list = run_command(test_program, '--list').stdout().split('\n')

foreach test : test_list
	test = test.strip()
	if test != ''
		test(test, test_program, args: ['--test', test], env: env)
	endif
endforeach