From eb264e1892c2a1379fa3bcab9aefea219e8e7138 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Sep 2015 10:56:32 +0200 Subject: Rework diagnostics verbosity, add quiet mode/option --- build/test/module.cxx | 2 +- build/test/rule.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'build/test') diff --git a/build/test/module.cxx b/build/test/module.cxx index b3378ba..deda6e9 100644 --- a/build/test/module.cxx +++ b/build/test/module.cxx @@ -40,7 +40,7 @@ namespace build } const dir_path& out_root (r.out_path ()); - level4 ([&]{trace << "for " << out_root;}); + level5 ([&]{trace << "for " << out_root;}); // Register the test operation. // diff --git a/build/test/rule.cxx b/build/test/rule.cxx index 25baaa7..ea268a9 100644 --- a/build/test/rule.cxx +++ b/build/test/rule.cxx @@ -416,9 +416,9 @@ namespace build args.push_back (nullptr); // Second. - if (verb) + if (verb >= 2) print_process (args); - else + else if (verb) text << "test " << t; { -- cgit v1.1