Skip to content

Commit

Permalink
Merge pull request #34 from mcarton/rustup
Browse files Browse the repository at this point in the history
Rustup, support `quiet`
  • Loading branch information
Manishearth committed Mar 16, 2016
2 parents 7890666 + 950fac8 commit ec7c61e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,8 @@ pub struct Config {
pub lldb_python_dir: Option<String>,

// Explain what's going on
pub verbose: bool
pub verbose: bool,

// Print one character per test instead of one line
pub quiet: bool,
}
7 changes: 3 additions & 4 deletions src/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub fn default_config() -> Config {
adb_test_dir: "adb-test-dir/target".to_owned(),
adb_device_status: false,
verbose: false,
quiet: false,
}
}

Expand Down Expand Up @@ -114,11 +115,9 @@ pub fn run_tests(config: &Config) {

pub fn test_opts(config: &Config) -> test::TestOpts {
test::TestOpts {
filter: match config.filter {
None => None,
Some(ref filter) => Some(filter.clone()),
},
filter: config.filter.clone(),
run_ignored: config.run_ignored,
quiet: config.quiet,
logfile: config.logfile.clone(),
run_tests: true,
bench_benchmarks: true,
Expand Down

0 comments on commit ec7c61e

Please sign in to comment.