parent
a2079939de
commit
9f9c7905bf
4 changed files with 10 additions and 4 deletions
@ -1,4 +1,7 @@ |
||||
project('trivial test', 'c') |
||||
|
||||
py_inst = import('python').find_installation() |
||||
|
||||
exe = executable('trivialprog', 'trivial.c') |
||||
runt = run_target('invalid', command: ['echo', 'run_target']) |
||||
runt = run_target('invalid', command: [py_inst, '--version']) |
||||
test('runtest', exe, args: runt) |
||||
|
@ -1,4 +1,7 @@ |
||||
project('trivial test', 'c') |
||||
|
||||
py_inst = import('python').find_installation() |
||||
|
||||
exe = executable('trivialprog', 'trivial.c') |
||||
runt = run_target('invalid', command: ['echo', 'run_target']) |
||||
runt = run_target('invalid', command: [py_inst, '--version']) |
||||
meson.add_install_script(exe, runt) |
||||
|
Loading…
Reference in new issue