mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
CTest: Fix --show-only=json-v1 output with REQUIRED_FILES property
Fixes: #19629
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user