1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-27 06:42:32 +08:00

10 Commits

Author SHA1 Message Date
Justin Berger
d46b4ba835 server: Updated server tests to try various communication channels 2017-11-01 11:30:35 -06:00
Justin Berger
08dca58358 Tests: reworked server tests to allow other operation modes 2017-10-30 10:58:58 -06:00
Brad King
ea359bc5a6 Tests: Teach Server test to print server return code
This will aid in diagnosing failures.
2017-08-30 14:20:44 -04:00
Daniel Pfeifer
9b3c5ccf12 Server: test cache after reconnect 2017-08-13 23:20:11 +02:00
Justin Berger
5acbf08bff Tests: Teach Server test to forward exit code from server process 2017-06-08 15:00:12 -04:00
Ben Boeckel
a8f04a6f9c Tests/Server: import print_function from the future
This makes the output much more readable.

Suggested-by: Matt Soucy
2017-05-10 09:42:31 -04:00
Brad King
d56f9237d7 Tests: Teach Server test to wait for server exit
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.
2016-09-30 09:36:57 -04:00
Tobias Hunger
71a505870c server-mode: Add project data for unit tests
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.
2016-09-28 20:10:59 +02:00
Tobias Hunger
82104cc7a8 server-mode: Query global configuration of cmake via a command
Add "globalSettings" command that returns:
* Return capability information
* Return currently used generator/extra generator
* Return a range of flags for debug/trace/etc.
2016-09-26 14:23:53 -04:00
Tobias Hunger
b63c1f6ce7 cmake-server: Add unit test 2016-09-19 08:57:58 -04:00