diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-13 14:57:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-13 14:57:00 +0200 |
commit | 22b8744a7cede83906dfb4a08c55b69dd6878866 (patch) | |
tree | bc5a3c033bb0cf4a6221ceb08bd2b3e328a29b97 /build2/test/script/script | |
parent | 052dc48939a063b19a13c10cb2c735b4b06a4c4b (diff) |
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.
Diffstat (limited to 'build2/test/script/script')
-rw-r--r-- | build2/test/script/script | 3 |
1 files changed, 3 insertions, 0 deletions
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<description> desc; + scope_state state = scope_state::unknown; test::script::cleanups cleanups; // Variables. |