Explorar o código

server: drop "ctestInfo" backtrace information

Backtrace information was included by commit 35a52bd1b4 (server: add
"ctestInfo" request to get test info, 2017-10-25) to match that already
provided for targets.  However, the backtrace representation uses too
much memory and needs to be dropped.  Remove it from test information.

Issue: #17502
Brad King %!s(int64=7) %!d(string=hai) anos
pai
achega
976370d134
Modificáronse 2 ficheiros con 0 adicións e 14 borrados
  1. 0 11
      Help/manual/cmake-server.7.rst
  2. 0 3
      Source/cmServerProtocol.cxx

+ 0 - 11
Help/manual/cmake-server.7.rst

@@ -669,17 +669,6 @@ Each test object can have the following keys:
   contains the test command.
   contains the test command.
 "properties"
 "properties"
   contains a list of test property objects.
   contains a list of test property objects.
-"backtrace"
-  contains a list of backtrace objects that specify where the test was defined.
-
-Each backtrace object can have the following keys:
-
-"path"
-  contains the full path to the file containing the statement.
-"line"
-  contains the line number in the file where the statement was defined.
-"name"
-  contains the name of the statement that added the test.
 
 
 Each test property object can have the following keys:
 Each test property object can have the following keys:
 
 

+ 0 - 3
Source/cmServerProtocol.cxx

@@ -799,9 +799,6 @@ static Json::Value DumpCTestInfo(cmTest* testInfo)
   }
   }
   result[kPROPERTIES_KEY] = properties;
   result[kPROPERTIES_KEY] = properties;
 
 
-  // Need backtrace to figure out where this test was originally added
-  result[kBACKTRACE_KEY] = DumpBacktrace(testInfo->GetBacktrace());
-
   return result;
   return result;
 }
 }