summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-23 14:04:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-23 14:07:32 (GMT)
commita6b01b7d454c31a2f2b21f3c2c29bb341d733719 (patch)
treeb75ca890b5dadd2eeddea726fc54acb704a1ee56 /Source/CTest
parent76891a4a7a77868a025030ee92ff8dddb8fc3932 (diff)
parent5778880d20a7fb78ee6144b52d93ff371df54a41 (diff)
downloadCMake-a6b01b7d454c31a2f2b21f3c2c29bb341d733719.zip
CMake-a6b01b7d454c31a2f2b21f3c2c29bb341d733719.tar.gz
CMake-a6b01b7d454c31a2f2b21f3c2c29bb341d733719.tar.bz2
Merge topic 'ctest-json-REQUIRED_FILES'
5778880d20 CTest: Fix --show-only=json-v1 output with REQUIRED_FILES property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3719
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 2d07420..9925dc1 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -858,8 +858,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(