Add support for disabled test cases.

This commit adds support for skipping test cases that have enabled=0 in
their JSON body.

A separate counter is kept and reported in the final non-automake
output, detailing disabled as a separate field.

Ref: #1513
This commit is contained in:
Lasse Karstensen
2017-08-01 12:08:27 +02:00
committed by Felipe Zimmerle
parent ab14b7c083
commit d66f0c7e0d
2 changed files with 32 additions and 17 deletions

View File

@@ -83,10 +83,12 @@ class RegressionTestResult {
RegressionTestResult() :
passed(false),
skipped(false),
disabled(false),
test(NULL) { }
bool passed;
bool skipped;
bool disabled;
RegressionTest *test;
std::stringstream reason;
};