Skip to content

ignore high_level_loop tests in std #2265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/libstd/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,13 @@ crust fn delayed_send_close_cb(handle: *uv::ll::uv_timer_t) unsafe {
#[cfg(test)]
mod test {
#[test]
#[ignore]
fn test_timer_simple_sleep_test() {
sleep(1u);
}

#[test]
#[ignore]
fn test_timer_recv_timeout_before_time_passes() {
let expected = rand::rng().gen_str(16u);
let test_po = comm::port::<str>();
Expand All @@ -163,6 +165,7 @@ mod test {
}

#[test]
#[ignore]
fn test_timer_recv_timeout_after_time_passes() {
let expected = rand::rng().gen_str(16u);
let fail_msg = rand::rng().gen_str(16u);
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/uv_global_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ mod test {
log(debug, "global_loop timer test: msg recv on exit_po, done..");
}
#[test]
#[ignore(cfg(target_os = "freebsd"))]
#[ignore]
fn test_uv_global_loop_high_level_global_timer() unsafe {
let hl_loop = get_gl();
task::spawn_sched(task::manual_threads(1u), {||
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/uv_hl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ mod test {
}

#[test]
#[ignore(cfg(target_os = "freebsd"))]
#[ignore]
fn test_uv_hl_async() unsafe {
let exit_po = comm::port::<()>();
let exit_ch = comm::chan(exit_po);
Expand Down