diff options
Diffstat (limited to 'meson/test cases/unit/71 cross test passed/meson.build')
-rw-r--r-- | meson/test cases/unit/71 cross test passed/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meson/test cases/unit/71 cross test passed/meson.build b/meson/test cases/unit/71 cross test passed/meson.build new file mode 100644 index 000000000..4deb74baf --- /dev/null +++ b/meson/test cases/unit/71 cross test passed/meson.build @@ -0,0 +1,19 @@ +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]) |