From ae5f3de5f00368cd8c5e62a472ab0062115d97df Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Mon, 3 Jun 2013 16:05:46 -0400 Subject: [PATCH] Ignore tests that cannot pass on buildbot --- src/libextra/terminfo/parser/compiled.rs | 1 + src/libextra/terminfo/searcher.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libextra/terminfo/parser/compiled.rs b/src/libextra/terminfo/parser/compiled.rs index 9ff46bfb253c..10b6d3860852 100644 --- a/src/libextra/terminfo/parser/compiled.rs +++ b/src/libextra/terminfo/parser/compiled.rs @@ -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); diff --git a/src/libextra/terminfo/searcher.rs b/src/libextra/terminfo/searcher.rs index c2ff8a46ed45..d6577cf3b94d 100644 --- a/src/libextra/terminfo/searcher.rs +++ b/src/libextra/terminfo/searcher.rs @@ -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");