Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra::term overhaul #6826

Merged
merged 8 commits into from
Jun 3, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ignore tests that cannot pass on buildbot
  • Loading branch information
emberian committed Jun 3, 2013
commit ae5f3de5f00368cd8c5e62a472ab0062115d97df
1 change: 1 addition & 0 deletions src/libextra/terminfo/parser/compiled.rs
Original file line number Diff line number Diff line change
@@ -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);
2 changes: 2 additions & 0 deletions src/libextra/terminfo/searcher.rs
Original file line number Diff line number Diff line change
@@ -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");