Debian Codegraph @

test cases/common/14 configure file/generator.py

raw symbols SCIP
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 from pathlibscip-python python python-stdlib 3.11 pathlib/__init__: import Pathscip-python python python-stdlib 3.11 pathlib/Path#
5
6 if len(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.) != 3:
7 printscip-python python python-stdlib 3.11 builtins/print().("Wrong amount of parameters.")
8
9 build_dirscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/build_dir. = Pathscip-python python python-stdlib 3.11 pathlib/Path#(osscip-python python python-stdlib 3.11 os/__init__:.environscip-python python python-stdlib 3.11 os/environ.environ.['MESON_BUILD_ROOT'])
10 subdirscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/subdir. = Pathscip-python python python-stdlib 3.11 pathlib/Path#(osscip-python python python-stdlib 3.11 os/__init__:.environscip-python python python-stdlib 3.11 os/environ.environ.['MESON_SUBDIR'])
11 inputfscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/inputf. = Pathscip-python python python-stdlib 3.11 pathlib/Path#(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[1])
12 outputfscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/outputf. = Pathscip-python python python-stdlib 3.11 pathlib/Path#(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[2])
13
14 assert inputfscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/inputf..existsscip-python python python-stdlib 3.11 pathlib/Path#exists().()
15
16 with outputfscip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/outputf..openscip-python python python-stdlib 3.11 pathlib/Path#open().('w') as ofilescip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/ofile.:
17 ofilescip-python python meson 1.11.1 `test cases.common.14 configure file.generator`/ofile..writescip-python python python-stdlib 3.11 io/TextIOBase#write().("#define ZERO_RESULT 0\n")