cmake_run_test
Run a single project or storage test executable directly with literal command-line arguments, then read its output via process_get using the returned process ID. A zero exit code indicates success.
Instructions
Run one project/storage test executable directly with literal command-line arguments.
Inherits the server environment; cwd defaults to project/. Zero exit means success. No profiles, CTest properties, or case reports are used. Read output through process_get with the returned process_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"executable": "<executable>"
},
"name": "cmake_run_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | project/ | |
| timeout | No | ||
| arguments | No | ||
| executable | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| error | No | Null on success; failure explanation otherwise. | |
| arguments | No | ||
| executable | Yes | ||
| process_id | No |