Skip to content

Commit

Permalink
Revert "Re-enable rusti tests"
Browse files Browse the repository at this point in the history
This reverts commit d5de801.
  • Loading branch information
alexcrichton committed Aug 7, 2013
1 parent 5b4244d commit 0927d62
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/librusti/rusti.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,10 @@ mod tests {
}
}

#[cfg(not(target_word_size = "32"))]
// FIXME: #7220 rusti on 32bit mac doesn't work.
// FIXME: #7641 rusti on 32bit linux cross compile doesn't work
// FIXME: #7115 re-enable once LLVM has been upgraded
#[cfg(thiswillneverbeacfgflag)]
fn run_program(prog: &str) {
let mut r = repl();
for cmd in prog.split_iter('\n') {
Expand All @@ -574,9 +577,6 @@ mod tests {
"the command '%s' failed", cmd);
}
}
// FIXME: #7220 rusti on 32bit mac doesn't work
// FIXME: #7641 rusti on 32bit linux cross compile doesn't work
#[cfg(target_word_size = "32")]
fn run_program(_: &str) {}

#[test]
Expand All @@ -594,12 +594,13 @@ mod tests {
run_program("let a = 3;");
}

#[test]
#[test] #[ignore]
fn new_tasks() {
// XXX: can't spawn new tasks because the JIT code is cleaned up
// after the main function is done.
run_program("
use std::task::try;
try( || println(\"Please don't segfault\") );
do try { println(\"Please?\"); }
spawn( || println(\"Please don't segfault\") );
do spawn { println(\"Please?\"); }
");
}

Expand Down

5 comments on commit 0927d62

@bors
Copy link
Contributor

@bors bors commented on 0927d62 Aug 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at alexcrichton@0927d62

@bors
Copy link
Contributor

@bors bors commented on 0927d62 Aug 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging alexcrichton/rust/disable-rusti = 0927d62 into auto

@bors
Copy link
Contributor

@bors bors commented on 0927d62 Aug 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alexcrichton/rust/disable-rusti = 0927d62 merged ok, testing candidate = 29ffbba

@bors
Copy link
Contributor

@bors bors commented on 0927d62 Aug 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 29ffbba

Please sign in to comment.