From 78d21f22eb72a96d9e993e358743ed72349e4235 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 17 Dec 2017 10:50:57 +0200 Subject: Fix few issues with structured result output --- build2/dist/operation.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'build2/dist/operation.cxx') diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 7644ba9..a378b5d 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -133,18 +133,21 @@ namespace build2 const operation_info* poif ( rs->operations[oif->pre (params, dist_id, loc)]); set_current_oif (*poif, oif); - match (params, action (dist_id, poif->id, oif->id), ts); + action a (dist_id, poif->id, oif->id); + match (params, a, ts, true /* quiet */); } set_current_oif (*oif); - match (params, action (dist_id, oif->id), ts); + action a (dist_id, oif->id); + match (params, a, ts, true /* quiet */); if (oif->post != nullptr) { const operation_info* poif ( rs->operations[oif->post (params, dist_id)]); set_current_oif (*poif, oif); - match (params, action (dist_id, poif->id, oif->id), ts); + action a (dist_id, poif->id, oif->id); + match (params, a, ts, true /* quiet */); } } } @@ -265,7 +268,7 @@ namespace build2 action a (perform_id, update_id); - mo_perform.match (params, a, files); + mo_perform.match (params, a, files, true /* quiet */); mo_perform.execute (params, a, files, true /* quiet */); if (mo_perform.operation_post != nullptr) -- cgit v1.1