diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-12 11:01:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-12 11:01:46 +0200 |
commit | 4d30d9688bb5bebbf799dad38495940bbdf5aa20 (patch) | |
tree | c6631a7450f823de7044fccf2964ee584b6025fe /libbuild2 | |
parent | 98b1145e8c58a128766738eab7d0e97087d2d806 (diff) |
Suppress outcome diagnostics when building in module context
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/module.cxx | 8 |
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); |