aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/module.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index 36a7ce5..df0da48 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -188,16 +188,20 @@ namespace build2
loc,
tgs);
+ // Note that we suppress all outcome diagnostics, even for failure since
+ // the extra `info: failed to update <target>` is not very useful (we
+ // expect an appropriate diagnostics frame explains what's going on).
+ //
mo_perform.match ({}, /* parameters */
a,
tgs,
- 1, /* diag (failures only) */
+ 0, /* diag (none) */
false /* progress */);
mo_perform.execute ({}, /* parameters */
a,
tgs,
- 1, /* diag (failures only) */
+ 0, /* diag (none) */
false /* progress */);
assert (tgs.size () == 1);