aboutsummaryrefslogtreecommitdiff
path: root/build/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 10:56:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 10:56:32 +0200
commiteb264e1892c2a1379fa3bcab9aefea219e8e7138 (patch)
tree1031f859076b2d8f117a2948ec1184a5536f9cbc /build/test
parent55471ef43695408bae2237374be4637c302d1c87 (diff)
Rework diagnostics verbosity, add quiet mode/option
Diffstat (limited to 'build/test')
-rw-r--r--build/test/module.cxx2
-rw-r--r--build/test/rule.cxx4
2 files changed, 3 insertions, 3 deletions
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;
{