projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
848eb15
)
Forcibly remove CARGO_HTTP_CHECK_REVOKE when testing
author
Alex Crichton
<alex@alexcrichton.com>
Fri, 22 Dec 2017 16:07:20 +0000
(08:07 -0800)
committer
Alex Crichton
<alex@alexcrichton.com>
Fri, 22 Dec 2017 16:07:20 +0000
(08:07 -0800)
This'll tweak error messages and cause tests to fail
tests/cargotest/lib.rs
patch
|
blob
|
history
diff --git
a/tests/cargotest/lib.rs
b/tests/cargotest/lib.rs
index e809ba3f4e6305c9169661bc09d8b18f28b2c213..db7b9020edfa4477a93a3d622e59f994ff547eda 100644
(file)
--- a/
tests/cargotest/lib.rs
+++ b/
tests/cargotest/lib.rs
@@
-55,6
+55,11
@@
fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
// can switch this to one and then fix the tests.
.env("CARGO_INCREMENTAL", "0")
+ // This env var can switch the git backend from libgit2 to git2-curl, which
+ // can tweak error messages and cause some tests to fail, so let's forcibly
+ // remove it.
+ .env_remove("CARGO_HTTP_CHECK_REVOKE")
+
.env_remove("__CARGO_DEFAULT_LIB_METADATA")
.env_remove("RUSTC")
.env_remove("RUSTDOC")