|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Functions | |
| argparse.Namespace | parse_args () |
| Parse args. | |
| None | run_gcov (list[Path] src_files, Path obj_dir, Path repo_root, Path output_dir) |
| Run gcov. | |
| tuple[Path|None, int, int] | parse_gcov_file (Path gcov_path, Path repo_root) |
| Parse gcov file. | |
| int | main () |
| Entry point for this script. | |
Variables | |
| LINE_RE = re.compile(r"^\s*([^:]+):\s*([0-9]+):(.*)$") | |
Generate gcov line-coverage summary for src/*.c and enforce a threshold.
| argparse.Namespace c_coverage_gate.parse_args | ( | ) |
Parse args.
parse_args(). Definition at line 16 of file c_coverage_gate.py.
| None c_coverage_gate.run_gcov | ( | list[Path] | src_files, |
| Path | obj_dir, | ||
| Path | repo_root, | ||
| Path | output_dir | ||
| ) |
Run gcov.
| [in] | src_files | Argument passed to run_gcov(). |
| [in] | obj_dir | Argument passed to run_gcov(). |
| [in] | repo_root | Argument passed to run_gcov(). |
| [in] | output_dir | Argument passed to run_gcov(). |
Definition at line 55 of file c_coverage_gate.py.
| tuple[Path | None, int, int] c_coverage_gate.parse_gcov_file | ( | Path | gcov_path, |
| Path | repo_root | ||
| ) |
Parse gcov file.
| [in] | gcov_path | Argument passed to parse_gcov_file(). |
| [in] | repo_root | Argument passed to parse_gcov_file(). |
parse_gcov_file(). Definition at line 74 of file c_coverage_gate.py.
| int c_coverage_gate.main | ( | ) |
Entry point for this script.
main(). Definition at line 120 of file c_coverage_gate.py.
| c_coverage_gate.LINE_RE = re.compile(r"^\s*([^:]+):\s*([0-9]+):(.*)$") |
Definition at line 13 of file c_coverage_gate.py.