mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #7401 from RenjiSann/coverage
Fix coverage files generation
This commit is contained in:
commit
0b397c469f
11 changed files with 261 additions and 203 deletions
|
@ -1762,6 +1762,11 @@ impl UCommand {
|
|||
}
|
||||
}
|
||||
|
||||
// Forward the LLVM_PROFILE_FILE variable to the call, for coverage purposes.
|
||||
if let Some(ld_preload) = env::var_os("LLVM_PROFILE_FILE") {
|
||||
command.env("LLVM_PROFILE_FILE", ld_preload);
|
||||
}
|
||||
|
||||
command
|
||||
.envs(DEFAULT_ENV)
|
||||
.envs(self.env_vars.iter().cloned());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue