mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
test-utils: make the test harness forward LLVM_PROFILE_FILE to coreutil call
This commit is contained in:
committed by
Dorian Peron
parent
f5d3a2d3ba
commit
f552a6cb8a
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user