| 1 | #!/usr/bin/env python3 |
| 2 | |
| 3 | import sysscip-python python python-stdlib 3.11 sys/__init__:, osscip-python python python-stdlib 3.11 os/__init__: |
| 4 | |
| 5 | if len(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.) != 2: |
| 6 | printscip-python python python-stdlib 3.11 builtins/print().(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[0], '<output dir>') |
| 7 | |
| 8 | odirscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/odir. = sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[1] |
| 9 | |
| 10 | with openscip-python python python-stdlib 3.11 builtins/open().(osscip-python python python-stdlib 3.11 os/__init__:.pathscip-python python python-stdlib 3.11 os/path..joinscip-python python python-stdlib 3.11 posixpath/split().(odirscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/odir., 'mylib.h'), 'w') as fscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/f.: |
| 11 | fscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/f..writescip-python python python-stdlib 3.11 io/TextIOBase#write().('int func(void);\n') |
| 12 | with openscip-python python python-stdlib 3.11 builtins/open().(osscip-python python python-stdlib 3.11 os/__init__:.pathscip-python python python-stdlib 3.11 os/path..joinscip-python python python-stdlib 3.11 posixpath/split().(odirscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/odir., 'mylib.c'), 'w') as fscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/f.: |
| 13 | fscip-python python meson 1.11.1 `test cases.common.54 custom target source output.generator`/f..writescip-python python python-stdlib 3.11 io/TextIOBase#write().('''int func(void) { |
| 14 | return 0; |
| 15 | } |
| 16 | ''') |