cmake/Tests/Server/tc_cache.json

25 lines
852 B
JSON
Raw Normal View History

2018-01-26 17:06:56 +01:00
[
{ "message": "Testing cache" },
{ "message": "Cache after first handshake is empty:" },
{ "handshake": {"major": 1, "sourceDirectory": "buildsystem1", "buildDirectory": "buildsystem1"} },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": true } },
{ "message": "Cache after configure is populated:" },
{ "send": { "type": "configure" } },
{ "reply": { "type": "configure", "skipProgress":true } },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": false } },
{ "message": "Handshake for existing cache requires buildDirectory only:" },
{ "reconnect": {} },
{ "handshake": {"major": 1, "sourceDirectory": "", "buildDirectory": "buildsystem1"} },
{ "message": "Cache after reconnect is again populated:" },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": false } },
{ "message": "Everything ok." }
]