From ba33472f9f74c508b9f028703aa6f226b7dfd7c2 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 25 May 2013 01:04:28 -0500 Subject: [PATCH] Un-ignore rusti/rustpkg tests on i686 --- src/librusti/rusti.rc | 5 +++-- src/librustpkg/tests.rs | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index 2097d0b6907..e1daecf9624 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -453,8 +453,9 @@ mod tests { } } - #[test] #[ignore] + #[test] fn run_all() { + // FIXME(#6511): // By default, unit tests are run in parallel. Rusti, on the other hand, // does not enjoy doing this. I suspect that it is because the LLVM // bindings are not thread-safe (when running parallel tests, some tests @@ -467,7 +468,7 @@ mod tests { run_cmds([""]); debug!("regression test for #5937"); - run_cmds(["use core;", ""]); + run_cmds(["use std;", ""]); debug!("regression test for #5784"); run_cmds(["let a = 1;"]); diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs index 1bd1a6bfd77..160413254cd 100644 --- a/src/librustpkg/tests.rs +++ b/src/librustpkg/tests.rs @@ -93,9 +93,7 @@ fn test_sysroot() -> Path { self_path.pop() } -// Ignored on i686 -- see #6517 #[test] -#[ignore(cfg(target_arch = "x86"))] fn test_make_dir_rwx() { let temp = &os::tmpdir(); let dir = temp.push(~"quux"); @@ -109,7 +107,6 @@ fn test_make_dir_rwx() { } #[test] -#[ignore(cfg(target_arch = "x86"))] fn test_install_valid() { let sysroot = test_sysroot(); debug!("sysroot = %s", sysroot.to_str()); @@ -135,7 +132,6 @@ fn test_install_valid() { } #[test] -#[ignore(cfg(target_arch = "x86"))] fn test_install_invalid() { use conditions::nonexistent_package::cond; use cond1 = conditions::missing_pkg_files::cond; @@ -158,7 +154,6 @@ fn test_install_invalid() { } #[test] -#[ignore(cfg(target_arch = "x86"))] fn test_install_url() { let workspace = mkdtemp(&os::tmpdir(), "test").expect("couldn't create temp dir"); let sysroot = test_sysroot();