summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-22 19:00:38 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-22 19:07:43 (GMT)
commit5778880d20a7fb78ee6144b52d93ff371df54a41 (patch)
tree57668333354add43aa27de661a63af97b6c5b989 /Source/CTest
parent40bbe50e23c06232ccf1c49589dde5dd84e1ac31 (diff)
downloadCMake-5778880d20a7fb78ee6144b52d93ff371df54a41.zip
CMake-5778880d20a7fb78ee6144b52d93ff371df54a41.tar.gz
CMake-5778880d20a7fb78ee6144b52d93ff371df54a41.tar.bz2
CTest: Fix --show-only=json-v1 output with REQUIRED_FILES property
Fixes: #19629
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index ef63073..1b71f2a 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -855,8 +855,8 @@ static Json::Value DumpCTestProperties(
DumpCTestProperty("PROCESSORS", testProperties.Processors));
}
if (!testProperties.RequiredFiles.empty()) {
- properties["REQUIRED_FILES"] =
- DumpToJsonArray(testProperties.RequiredFiles);
+ properties.append(DumpCTestProperty(
+ "REQUIRED_FILES", DumpToJsonArray(testProperties.RequiredFiles)));
}
if (!testProperties.LockedResources.empty()) {
properties.append(DumpCTestProperty(