From 70e84f908024329268bfc084282a9e88e1736076 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 1 Jul 2016 22:38:18 +0300 Subject: Use new run_target format. --- test cases/common/58 run target/meson.build | 9 ++++++--- 1 file 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.")']) -- cgit v1.1