diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-08-03 01:37:46 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-08-03 02:29:44 +0300 |
commit | f39600647d9fe95c91c80b0cc7e7a8c28524e778 (patch) | |
tree | 99f13e04856ec46b064bd0126de1a00b226914f5 /test cases/common/72 configure file in custom target/src/mycompiler.py | |
parent | 2e6df380f15643630f984311d8ab9ec693aba223 (diff) | |
download | meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.zip meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.gz meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.bz2 |
Condense test directory names.
Diffstat (limited to 'test cases/common/72 configure file in custom target/src/mycompiler.py')
-rw-r--r-- | test cases/common/72 configure file in custom target/src/mycompiler.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/72 configure file in custom target/src/mycompiler.py b/test cases/common/72 configure file in custom target/src/mycompiler.py new file mode 100644 index 0000000..b00c862 --- /dev/null +++ b/test cases/common/72 configure file in custom target/src/mycompiler.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python3 + +import sys + +with open(sys.argv[1]) as ifile: + if ifile.readline().strip() != '42': + print('Incorrect input') +with open(sys.argv[2], 'w') as ofile: + ofile.write('Success\n') |