summaryrefslogtreecommitdiffstats
path: root/Tests/Server/cmakelib.py
Commit message (Collapse)AuthorAgeFilesLines
* cmake-server: Change message wrapper to avoid ambiguity with contentBrad King2016-10-241-5/+5
| | | | | | | | | | | | | Change our message wrapper from [== CMake Server ==[ ... ]== CMake Server ==] to [== "CMake Server" ==[ ... ]== "CMake Server" ==] to guarantee that no JSON content can ever contain the ending string (because it would be encoded as `]== \"CMake Server\" ==]`).
* server-mode: Add project data for unit testsTobias Hunger2016-09-281-5/+15
| | | | | | | | | Do some basic unit tests for "codemodel", "cmakeInputs" and "cache" commands of the cmake server. This just calls the commands right now and makes sure the server thinks it can reply to the request. The data itself is currently not validated.
* server-mode: Set global configuration of cmake via a commandTobias Hunger2016-09-261-2/+7
| | | | | "setGlobalSettings" can be used to change settings reported by "globalSettings" command.
* server-mode: Query global configuration of cmake via a commandTobias Hunger2016-09-261-2/+59
| | | | | | | Add "globalSettings" command that returns: * Return capability information * Return currently used generator/extra generator * Return a range of flags for debug/trace/etc.
* server-mode: Introduce cmServerConnectionTobias Hunger2016-09-221-1/+1
| | | | | | | | Use it to split pipe and stdin/out handling out of cmServer itself. The server will shut down when it looses its connection to the client. This has the nice property that a crashing client will cause the server to terminate as the OS will close the connection on behave of the client.
* server-mode: Add --experimental flagTobias Hunger2016-09-201-1/+1
| | | | | | | | Allow for experimental cmProtocolVersions, which will only ever get listed if the server was started with the (undocumented) "--experimental" flag. Mark current protocol version 1.0 as experimental.
* cmake-server: Add unit testTobias Hunger2016-09-191-0/+126