From 2098ff4a3346f104ce3ab8a86fb6093a8ed6bbd0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 23 Oct 2015 10:50:53 -0700 Subject: std: Add more entries to stdtest base_port The new bots we have may conflict with one another on base ports, causing tests to fail. For example the linux-musl-64-opt and linux-64-opt bots are using the same base port right now, causing some spurious failures every now and then. --- src/libstd/net/test.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/net/test.rs b/src/libstd/net/test.rs index c6d839d55a8..9665fd72287 100644 --- a/src/libstd/net/test.rs +++ b/src/libstd/net/test.rs @@ -47,7 +47,9 @@ pub fn tsa(a: A) -> Result, String> { // it is running in and assigns a port range based on it. fn base_port() -> u16 { let cwd = env::current_dir().unwrap(); - let dirs = ["32-opt", "32-nopt", "64-opt", "64-nopt", "64-opt-vg", + let dirs = ["32-opt", "32-nopt", + "musl-64-opt", "cross-opt", + "64-opt", "64-nopt", "64-opt-vg", "64-debug-opt", "all-opt", "snap3", "dist"]; dirs.iter().enumerate().find(|&(_, dir)| { cwd.to_str().unwrap().contains(dir) -- cgit 1.4.1-3-g733a5