Ignore tests that cannot pass on buildbot

This commit is contained in:
Corey Richardson 2013-06-03 16:05:46 -04:00
parent 023861cbd1
commit ae5f3de5f0
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -68,6 +68,7 @@ pub fn open(term: &str) -> Result<@Reader, ~str> {
}
#[test]
#[ignore(reason = "buildbots don't have ncurses installed and I can't mock everything I need")]
fn test_get_dbpath_for_term() {
// woefully inadequate test coverage
use std::os::{setenv, unsetenv};
@ -80,6 +81,7 @@ fn test_get_dbpath_for_term() {
}
#[test]
#[ignore(reason = "see test_get_dbpath_for_term")]
fn test_open() {
open("screen");
let t = open("nonexistent terminal that hopefully does not exist");