From 22b8744a7cede83906dfb4a08c55b69dd6878866 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 13 Dec 2016 14:57:00 +0200 Subject: Handle exceptions in parallel tests runs Currently we still stop on first error (or soon after) though the default mode should eventually be to keep going. --- build2/test/script/script | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/test/script/script') diff --git a/build2/test/script/script b/build2/test/script/script index 4f39c58..bf882ab 100644 --- a/build2/test/script/script +++ b/build2/test/script/script @@ -247,6 +247,8 @@ namespace build2 // class script; + enum class scope_state {unknown, passed, failed}; + class scope { public: @@ -267,6 +269,7 @@ namespace build2 optional desc; + scope_state state = scope_state::unknown; test::script::cleanups cleanups; // Variables. -- cgit v1.1