summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-18 14:56:16 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-07-18 15:52:05 (GMT)
commit4f1dec86a53b789d164827eb6e89696f9e59f1c0 (patch)
tree5c7d6d0261a706bb4039eb4ed0b15aa1be0c6810 /Source/CTest/cmCTestMultiProcessHandler.cxx
parente3bd5c5b666e515319d81f8218e2f71c11169304 (diff)
downloadCMake-4f1dec86a53b789d164827eb6e89696f9e59f1c0.zip
CMake-4f1dec86a53b789d164827eb6e89696f9e59f1c0.tar.gz
CMake-4f1dec86a53b789d164827eb6e89696f9e59f1c0.tar.bz2
CTest: Add SKIP_REGULAR_EXPRESSION test property
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 37a8abf..42534f7 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -823,6 +823,11 @@ static Json::Value DumpCTestProperties(
"FAIL_REGULAR_EXPRESSION",
DumpRegExToJsonArray(testProperties.ErrorRegularExpressions)));
}
+ if (!testProperties.SkipRegularExpressions.empty()) {
+ properties.append(DumpCTestProperty(
+ "SKIP_REGULAR_EXPRESSION",
+ DumpRegExToJsonArray(testProperties.SkipRegularExpressions)));
+ }
if (!testProperties.FixturesCleanup.empty()) {
properties.append(DumpCTestProperty(
"FIXTURES_CLEANUP", DumpToJsonArray(testProperties.FixturesCleanup)));