about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2013-06-03 16:05:46 -0400
committerCorey Richardson <corey@octayn.net>2013-06-03 16:05:46 -0400
commitae5f3de5f00368cd8c5e62a472ab0062115d97df (patch)
treef2d4b6faf04d91b2e10e22025b884a8241304acd
parent023861cbd1c817fd092029141bef96639df8c6d2 (diff)
downloadrust-ae5f3de5f00368cd8c5e62a472ab0062115d97df.tar.gz
rust-ae5f3de5f00368cd8c5e62a472ab0062115d97df.zip
Ignore tests that cannot pass on buildbot
-rw-r--r--src/libextra/terminfo/parser/compiled.rs1
-rw-r--r--src/libextra/terminfo/searcher.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libextra/terminfo/parser/compiled.rs b/src/libextra/terminfo/parser/compiled.rs
index 9ff46bfb253..10b6d386085 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 c2ff8a46ed4..d6577cf3b94 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");