aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-06-24 15:02:32 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-06-24 15:02:43 +0300
commitea4fe8e4177fa243c0886931bcb7ba6625e947f3 (patch)
tree7c0dd2da981faa7c6b621fe2cec3d3fdb4ac2763 /test cases
parent4934e70092cff9b0e23227da9f4c4b6c389da835 (diff)
downloadmeson-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.build3
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.")')