summaryrefslogtreecommitdiffstats
path: root/Tests/Server
Commit message (Collapse)AuthorAgeFilesLines
* server: remove deprecated 'cmake -E server' modeBrad King2020-10-1413-826/+0
| | | | | | The server mode has been deprecated since commit 996e1885c4 (server: deprecate in favor of the file-api, 2019-04-19, v3.15.0-rc1~198^2). Clients should now be using the file-api. Remove the server mode.
* Help: Mark default CMake generator with asteriskArtur Ryt2019-01-181-0/+4
| | | | | | | | Required extracting default generator evaluation to explicit function, as Visual Studio generators get validated during their construction. Fixes: #18544
* CMake build: Use new FindPython moduleMarc Chevrier2018-03-201-2/+2
|
* Generators: remove KDevelop3 generatorAlex Neundorf2018-01-241-1/+1
| | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* test: Updated server test harness to try to cause fragmentationJustin Berger2017-11-291-1/+27
|
* server: Updated server tests to try various communication channelsJustin Berger2017-11-012-105/+142
|
* Tests: reworked server tests to allow other operation modesJustin Berger2017-10-303-32/+97
|
* Tests: Teach Server test to print server return codeBrad King2017-08-302-1/+2
| | | | This will aid in diagnosing failures.
* Server: test cache after reconnectDaniel Pfeifer2017-08-135-15/+77
|
* Tests: Teach Server test to forward exit code from server processJustin Berger2017-06-081-1/+1
|
* Tests/Server: import print_function from the futureBen Boeckel2017-05-102-2/+4
| | | | | | This makes the output much more readable. Suggested-by: Matt Soucy
* Tests: Avoid generating .pyc files during Server testBrad King2017-04-031-0/+1
| | | | | | Avoid writing any files to the source tree during testing. Fixes: #16770
* cmake-server: Better error reporting during handshakeTobias Hunger2016-10-271-2/+2
| | | | | | | Catch more problematic input during handshake and report failure. These were caught before when trying to configure, but it is way better to get these reports early.
* 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\" ==]`).
* Tests: Teach Server test to wait for server exitBrad King2016-09-301-0/+14
| | | | | | | We expect the server to exit when its communication pipes are closed. Close them and wait for the server to exit. If supported by the current version of python, kill the server if it does not exit after a few seconds.
* server-mode: Add project data for unit testsTobias Hunger2016-09-289-20/+108
| | | | | | | | | 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-262-4/+139
| | | | | "setGlobalSettings" can be used to change settings reported by "globalSettings" command.
* server-mode: Query global configuration of cmake via a commandTobias Hunger2016-09-264-3/+87
| | | | | | | 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-195-0/+307