Function
runF2C
(fortran_filename, output_dir)
Source from the content-addressed store, hash-verified
| 263 | pass |
| 264 | |
| 265 | def runF2C(fortran_filename, output_dir): |
| 266 | fortran_filename = fortran_filename.replace('\\', '/') |
| 267 | try: |
| 268 | subprocess.check_call( |
| 269 | ["f2c"] + F2C_ARGS + ['-d', output_dir, fortran_filename] |
| 270 | ) |
| 271 | except subprocess.CalledProcessError: |
| 272 | raise F2CError |
| 273 | |
| 274 | def scrubF2CSource(c_file): |
| 275 | with open(c_file) as fo: |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…