Skip to content

Commit 0779962

Browse files
committed
Add debug logging
1 parent 2915167 commit 0779962

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#[macro_use]
12+
extern crate log;
1113
extern crate regex;
1214
extern crate rustfmt_nightly as rustfmt;
1315
extern crate term;
@@ -201,6 +203,8 @@ where
201203
let mut reports = vec![];
202204

203205
for file_name in files.filter(|f| f.ends_with(".rs")) {
206+
debug!("Testing '{}'...", file_name);
207+
204208
match idempotent_check(file_name) {
205209
Ok(ref report) if report.has_warnings() => {
206210
print!("{}", report);

0 commit comments

Comments
 (0)