mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-14 23:22:51 +00:00
Integration tests spawn the fabro binary as a subprocess and call env_clear() for isolation, which strips LLVM_PROFILE_FILE. Under cargo-llvm-cov this dropped subprocess coverage into orphaned default.profraw files in tempdirs instead of the merged profile. Add a preserve_coverage_env! macro in fabro-test and call it after each env_clear() in apply_test_isolation, LightweightCli, and the exec.rs sites. No-op when the env var is unset (normal test runs). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/it | ||
| build.rs | ||
| Cargo.toml | ||