diff options
| author | Patrick Griffis <tingping@tingping.se> | 2017-07-31 12:43:20 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-31 18:48:30 -0400 |
| commit | ece4ce887242b572d7d27bc72497d007b2b75fdc (patch) | |
| tree | 7d4638360648b483a79c2278dc8f1fa8bbc733d1 /test cases/common | |
| parent | a572ebd2a19ff9501e3c03b0cec71f5a5aef5ceb (diff) | |
| download | meson-ece4ce887242b572d7d27bc72497d007b2b75fdc.tar.gz | |
Fix test() accepting configure files for exe
Diffstat (limited to 'test cases/common')
| -rw-r--r-- | test cases/common/157 configure file in test/meson.build | 9 | ||||
| -rwxr-xr-x | test cases/common/157 configure file in test/test.py.in | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test cases/common/157 configure file in test/meson.build b/test cases/common/157 configure file in test/meson.build new file mode 100644 index 000000000..902810147 --- /dev/null +++ b/test cases/common/157 configure file in test/meson.build @@ -0,0 +1,9 @@ +project('conf file in test') + +test_file = configure_file( + input: 'test.py.in', + output: 'test.py', + configuration: configuration_data() +) + +test('configure-file', test_file) diff --git a/test cases/common/157 configure file in test/test.py.in b/test cases/common/157 configure file in test/test.py.in new file mode 100755 index 000000000..15a61f578 --- /dev/null +++ b/test cases/common/157 configure file in test/test.py.in @@ -0,0 +1,4 @@ +#!/usr/bin/env python3 + +import sys +sys.exit(0) |
