Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
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