Debian Codegraph @

test cases/common/135 custom target object output/obj_generator.py

raw symbols SCIP
1 #!/usr/bin/env python3
2
3 # Mimic a binary that generates an object file (e.g. windres).
4
5 import sysscip-python python python-stdlib 3.11 sys/__init__:, subprocessscip-python python python-stdlib 3.11 subprocess/__init__:
6
7 if __name__scip-python python python-stdlib 3.11 builtins/__name__# == '__main__':
8 if len(sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.) != 4:
9 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], 'compiler input_file output_file')
10 sysscip-python python python-stdlib 3.11 sys/__init__:.exit(1)
11 compilerscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/compiler. = sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[1]
12 ifilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ifile. = sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[2]
13 ofilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ofile. = sysscip-python python python-stdlib 3.11 sys/__init__:.argvscip-python python python-stdlib 3.11 sys/argv.argv.[3]
14 if compilerscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/compiler..endswithscip-python python python-stdlib 3.11 builtins/str#endswith().('cl'):
15 cmdscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/cmd. = [compilerscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/compiler., '/nologo', '/MDd', '/Fo' + ofilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ofile., '/c', ifilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ifile.]
16 else:
17 cmdscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/cmd. = [compilerscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/compiler., '-c', ifilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ifile., '-o', ofilescip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/ofile.]
18 sysscip-python python python-stdlib 3.11 sys/__init__:.exit(subprocessscip-python python python-stdlib 3.11 subprocess/__init__:.callscip-python python python-stdlib 3.11 subprocess/call().(cmdscip-python python meson 1.11.1 `test cases.common.135 custom target object output.obj_generator`/cmd.))