Print the number of tests run.

Don't let 'cton-util test' finish without printing anything.
This commit is contained in:
Jakob Stoklund Olesen
2016-09-15 17:28:09 -07:00
parent 78a2e47d95
commit 8a9b34411a

View File

@@ -179,6 +179,7 @@ impl TestRunner {
pub fn run(&mut self) -> CommandResult {
self.scan_dirs();
self.schedule_jobs();
println!("{} tests", self.tests.len());
match self.errors {
0 => Ok(()),
1 => Err("1 failure".to_string()),