diff options
Diffstat (limited to 'meson/test cases/common/150 reserved targets/runtarget')
-rw-r--r-- | meson/test cases/common/150 reserved targets/runtarget/echo.py | 6 | ||||
-rw-r--r-- | meson/test cases/common/150 reserved targets/runtarget/meson.build | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/common/150 reserved targets/runtarget/echo.py b/meson/test cases/common/150 reserved targets/runtarget/echo.py new file mode 100644 index 000000000..7f9f17992 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/runtarget/echo.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +import sys + +if len(sys.argv) > 1: + print(sys.argv[1]) diff --git a/meson/test cases/common/150 reserved targets/runtarget/meson.build b/meson/test cases/common/150 reserved targets/runtarget/meson.build new file mode 100644 index 000000000..7ba0b8c02 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/runtarget/meson.build @@ -0,0 +1,2 @@ +configure_file(output : 'config.h', configuration: configuration_data()) +run_target('runtarget', command : [find_program('echo.py')]) |