diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 12:45:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 12:45:22 +0200 |
commit | 0ca011d1220207b3c1cba92791413f113ec66329 (patch) | |
tree | 855224e36408fc80ec7d47741b59ce4524402240 /libbuild2/test | |
parent | 20f97f06ce54c31e32cf58cfd1b7cae3617c1661 (diff) |
keep_going
Diffstat (limited to 'libbuild2/test')
-rw-r--r-- | libbuild2/test/rule.cxx | 2 | ||||
-rw-r--r-- | libbuild2/test/script/parser.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/test/rule.cxx b/libbuild2/test/rule.cxx index ef9adca..bd412f5 100644 --- a/libbuild2/test/rule.cxx +++ b/libbuild2/test/rule.cxx @@ -560,7 +560,7 @@ namespace build2 // Executed synchronously. If failed and we were not asked to // keep going, bail out. // - if (r == scope_state::failed && !keep_going) + if (r == scope_state::failed && !ctx.keep_going) break; } } diff --git a/libbuild2/test/script/parser.cxx b/libbuild2/test/script/parser.cxx index 43c3849..582237a 100644 --- a/libbuild2/test/script/parser.cxx +++ b/libbuild2/test/script/parser.cxx @@ -3033,7 +3033,7 @@ namespace build2 // Bail out if the scope has failed and we weren't instructed // to keep going. // - if (chain->state == scope_state::failed && !keep_going) + if (chain->state == scope_state::failed && !ctx.keep_going) throw failed (); } } |