The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
416 B

project(
'cross test passed',
'c',
version : '>= 0.51'
)
e = executable('exec', 'src/main.c')
py = import('python').find_installation()
test('root', e)
test('main', py, args : [meson.current_source_dir() / 'script.py', e])
wrapper_args = []
if get_option('expect')
wrapper_args += '--expected'
endif
test('exe_wrapper in env', py, args : [meson.current_source_dir() / 'exewrapper.py', e, wrapper_args])