diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-04-17 17:24:05 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-04-24 08:08:40 -0700 |
| commit | 009f45f8f1fcc0d0a6700fec8e0fd64d5aa739d2 (patch) | |
| tree | abc4626ede154916ba1690697f94e1b61dc0d462 /src/tools | |
| parent | 846891aeff1a2a73524c404c6eeff5e8daf4caa2 (diff) | |
| download | rust-009f45f8f1fcc0d0a6700fec8e0fd64d5aa739d2.tar.gz rust-009f45f8f1fcc0d0a6700fec8e0fd64d5aa739d2.zip | |
Run tests for the cargo submodule in tree
Previously the `cargotest` suite would run some arbitrary revision of Cargo's test suite, but now that we're bundling it in tree we should be running the Cargo submodule's test suite instead.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/cargotest/main.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/tools/cargotest/main.rs b/src/tools/cargotest/main.rs index c7113edbf9e..012ee835494 100644 --- a/src/tools/cargotest/main.rs +++ b/src/tools/cargotest/main.rs @@ -23,12 +23,6 @@ struct Test { const TEST_REPOS: &'static [Test] = &[ Test { - name: "cargo", - repo: "https://github.com/rust-lang/cargo", - sha: "0e1e34be7540bdaed4918457654fbf028cf69e56", - lock: None, - }, - Test { name: "iron", repo: "https://github.com/iron/iron", sha: "21c7dae29c3c214c08533c2a55ac649b418f2fe3", @@ -61,20 +55,6 @@ const TEST_REPOS: &'static [Test] = &[ ]; fn main() { - // One of the projects being tested here is Cargo, and when being tested - // Cargo will at some point call `nmake.exe` on Windows MSVC. Unfortunately - // `nmake` will read these two environment variables below and try to - // intepret them. We're likely being run, however, from MSYS `make` which - // uses the same variables. - // - // As a result, to prevent confusion and errors, we remove these variables - // from our environment to prevent passing MSYS make flags to nmake, causing - // it to blow up. - if cfg!(target_env = "msvc") { - env::remove_var("MAKE"); - env::remove_var("MAKEFLAGS"); - } - let args = env::args().collect::<Vec<_>>(); let ref cargo = args[1]; let out_dir = Path::new(&args[2]); |
