From 3b0cf780b4527f0973a45e2f3f1a8dda8d1e61ef Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 17 Sep 2014 08:30:35 -0700 Subject: [PATCH] Shorten the cargo integration test directory name Right now the win64 snapshot builders are failing to produce a snapshot, and I've managed to track it down to a path length issue. Windows paths have a maximum of 260 characters, and the characters add up pretty fast for a path like: c:\bot\slave\cargo-nightly-win-64 \build\target\x86_64-w64-mingw32 \cargo-integration-test\home\.cargo \git\checkouts\meta-dep-\ \$SHA\.git\... The normal builders aren't failing I presume because `cargo-nightly-win-64` is longer than `cargo-win64-64` (we must be *right up* against the limit). I've confirmed that this shortening fixes the tests on the bots. --- tests/support/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/support/paths.rs b/tests/support/paths.rs index 8acdc83e7..126fafeaf 100644 --- a/tests/support/paths.rs +++ b/tests/support/paths.rs @@ -5,7 +5,7 @@ use std::{io, os}; use cargo::util::realpath; -static CARGO_INTEGRATION_TEST_DIR : &'static str = "cargo-integration-tests"; +static CARGO_INTEGRATION_TEST_DIR : &'static str = "cit"; local_data_key!(task_id: uint)