]> git.lizzy.rs Git - rust.git/commitdiff
Ignore tests that cannot pass on buildbot
authorCorey Richardson <corey@octayn.net>
Mon, 3 Jun 2013 20:05:46 +0000 (16:05 -0400)
committerCorey Richardson <corey@octayn.net>
Mon, 3 Jun 2013 20:05:46 +0000 (16:05 -0400)
src/libextra/terminfo/parser/compiled.rs
src/libextra/terminfo/searcher.rs

index 9ff46bfb253c98e8313b62423cacdd8ff0876926..10b6d3860852b4a115efee48a3238806ca5fcd1f 100644 (file)
@@ -324,6 +324,7 @@ fn test_veclens() {
     }
 
     #[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);
index c2ff8a46ed4530cc1d6521bbf199d1b74dc60b2a..d6577cf3b94db408a8a73ee6f443e800f822c701 100644 (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");