aboutsummaryrefslogtreecommitdiff
path: root/build2/test/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-07 10:24:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-07 10:24:02 +0200
commit8205a652a4616aea84f24ff31235ea9941f47db6 (patch)
treebd63a17e6944575f0d8dc0519e86d8a5513b6b5c /build2/test/common
parentec2247ead804e7cde1fe6a0f0b8112440e80a61c (diff)
Specify config.test.output variable
Diffstat (limited to 'build2/test/common')
-rw-r--r--build2/test/common8
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/test/common b/build2/test/common
index 44c7bf8..8e4235b 100644
--- a/build2/test/common
+++ b/build2/test/common
@@ -14,8 +14,16 @@ namespace build2
{
namespace test
{
+ enum class output_before {fail, warn, clean};
+ enum class output_after {clean, keep};
+
struct common
{
+ // The config.test.output values.
+ //
+ output_before before;
+ output_after after;
+
// The config.test query interface.
//
const names* test_ = nullptr; // The config.test value if any.