diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-24 15:02:32 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-24 15:02:43 +0300 |
commit | ea4fe8e4177fa243c0886931bcb7ba6625e947f3 (patch) | |
tree | 7c0dd2da981faa7c6b621fe2cec3d3fdb4ac2763 /test cases | |
parent | 4934e70092cff9b0e23227da9f4c4b6c389da835 (diff) | |
download | meson-ea4fe8e4177fa243c0886931bcb7ba6625e947f3.zip meson-ea4fe8e4177fa243c0886931bcb7ba6625e947f3.tar.gz meson-ea4fe8e4177fa243c0886931bcb7ba6625e947f3.tar.bz2 |
Run_target can run binaries obtained with find_program.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/58 run target/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/common/58 run target/meson.build b/test cases/common/58 run target/meson.build index 519adf5..fa25f2a 100644 --- a/test cases/common/58 run target/meson.build +++ b/test cases/common/58 run target/meson.build @@ -7,3 +7,6 @@ run_target('mycommand', 'scripts/script.sh') exe = executable('helloprinter', 'helloprinter.c') run_target('runhello', exe, 'argument') + +python3 = find_program('python3') +run_target('py3hi', python3, '-c', 'print("I am Python3.")') |