Skip to content

Commit ae5f3de

Browse files
committed
Ignore tests that cannot pass on buildbot
1 parent 023861c commit ae5f3de

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/libextra/terminfo/parser/compiled.rs

+1
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ mod test {
324324
}
325325

326326
#[test]
327+
#[ignore(reason = "no ncurses on buildbots, needs a bundled terminfo file to test against")]
327328
fn test_parse() {
328329
// FIXME #6870: Distribute a compiled file in src/tests and test there
329330
// parse(io::file_reader(&p("/usr/share/terminfo/r/rxvt-256color")).unwrap(), false);

src/libextra/terminfo/searcher.rs

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub fn open(term: &str) -> Result<@Reader, ~str> {
6868
}
6969

7070
#[test]
71+
#[ignore(reason = "buildbots don't have ncurses installed and I can't mock everything I need")]
7172
fn test_get_dbpath_for_term() {
7273
// woefully inadequate test coverage
7374
use std::os::{setenv, unsetenv};
@@ -80,6 +81,7 @@ fn test_get_dbpath_for_term() {
8081
}
8182
8283
#[test]
84+
#[ignore(reason = "see test_get_dbpath_for_term")]
8385
fn test_open() {
8486
open("screen");
8587
let t = open("nonexistent terminal that hopefully does not exist");

0 commit comments

Comments
 (0)