(project_name: str)
| 50 | return static_lib_path |
| 51 | |
| 52 | def get_cov_shared_lib_path(project_name: str): |
| 53 | shared_lib_name = load_shared_library_name(project_name) |
| 54 | if not shared_lib_name: |
| 55 | raise ValueError(f"Shared library name not found for project {project_name}") |
| 56 | cov_shared_lib_name = shared_lib_name.replace(".so", "_cov.so") |
| 57 | shared_lib_path = f"{BUILD_DIR}/{project_name}/lib/{cov_shared_lib_name}" |
| 58 | if not os.path.exists(shared_lib_path): |
| 59 | raise FileNotFoundError(f"Shared library {shared_lib_path} does not exist.") |
| 60 | return shared_lib_path |
| 61 | |
| 62 | def get_project_include_dir(project_name: str): |
| 63 | include_dir = f"{BUILD_DIR}/{project_name}/include" |
no test coverage detected