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.
 
 
 
 
 
 

19 lines
403 B

project(
'cross test passed',
'c',
version : '>= 0.51'
)
e = executable('exec', 'src/main.c')
py = find_program('python3')
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])