aboutsummaryrefslogtreecommitdiff
path: root/build2/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-12 14:45:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-12 14:46:07 +0200
commitf5bc31da2a84b81fef5da8a59da66a2386adbea6 (patch)
tree7101f9552d098ca68cccfb6c6b877d55400ffbf1 /build2/config
parent82674ef0da3785713dd295059c0f63a4e9e7a926 (diff)
Make sure operation failure diagnostics is printed for pre/post-operations
Diffstat (limited to 'build2/config')
-rw-r--r--build2/config/operation.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx
index 14ab38c..a284f65 100644
--- a/build2/config/operation.cxx
+++ b/build2/config/operation.cxx
@@ -348,13 +348,13 @@ namespace build2
}
static void
- configure_match (const values&, action, action_targets&, bool)
+ configure_match (const values&, action, action_targets&, uint16_t)
{
// Don't match anything -- see execute ().
}
static void
- configure_execute (const values&, action a, action_targets& ts, bool)
+ configure_execute (const values&, action a, action_targets& ts, uint16_t)
{
// Match rules to configure every operation supported by each
// project. Note that we are not calling operation_pre/post()
@@ -497,7 +497,7 @@ namespace build2
}
static void
- disfigure_match (const values&, action, action_targets&, bool)
+ disfigure_match (const values&, action, action_targets&, uint16_t)
{
}
@@ -595,7 +595,10 @@ namespace build2
}
static void
- disfigure_execute (const values&, action a, action_targets& ts, bool quiet)
+ disfigure_execute (const values&,
+ action a,
+ action_targets& ts,
+ uint16_t diag)
{
tracer trace ("disfigure_execute");
@@ -622,7 +625,7 @@ namespace build2
true, // Implied.
trace).first);
- if (verb != 0 && !quiet)
+ if (verb != 0 && diag >= 2)
info << diag_done (a, t);
}
}