diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-07-01 22:38:18 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-07-01 22:38:18 +0300 |
commit | 70e84f908024329268bfc084282a9e88e1736076 (patch) | |
tree | 7289249334e35cf0c749b3a3f0dbda194f855414 /test cases | |
parent | 4f2b663928a1fd8726db047d524eaff569d0c505 (diff) | |
download | meson-70e84f908024329268bfc084282a9e88e1736076.zip meson-70e84f908024329268bfc084282a9e88e1736076.tar.gz meson-70e84f908024329268bfc084282a9e88e1736076.tar.bz2 |
Use new run_target format.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/58 run target/meson.build | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test cases/common/58 run target/meson.build b/test cases/common/58 run target/meson.build index 69732a3..0febe35 100644 --- a/test cases/common/58 run target/meson.build +++ b/test cases/common/58 run target/meson.build @@ -1,12 +1,14 @@ project('run target', 'c') -run_target('mycommand', 'scripts/script.sh') +# deprecated format, fix once we remove support for it. +run_target('mycommand','scripts/script.sh') # Make it possible to run built programs. # In cross builds exe_wrapper should be added if it exists. exe = executable('helloprinter', 'helloprinter.c') -run_target('runhello', exe, 'argument') +run_target('runhello', + command : [exe, 'argument']) converter = find_program('converter.py') @@ -30,4 +32,5 @@ run_target('upload2', ) python3 = find_program('python3') -run_target('py3hi', python3, '-c', 'print("I am Python3.")') +run_target('py3hi', + command : [python3, '-c', 'print("I am Python3.")']) |