crosspad_test_run
Build and run Catch2 tests for CrossPad PC with automatic CMake configuration and parsed pass/fail results. Supports filters to run specific tests or list tests without executing.
Instructions
[PC] Build and run the Catch2 test suite for crosspad-pc. PREFER THIS over invoking the test binary directly — configures cmake with BUILD_TESTING=ON, parses Catch2 output into passed/failed counts and errors, supports filter and list_only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Catch2 test filter (e.g. '[core]', 'PadManager*'). Default '' (empty) runs ALL tests — there is no opt-out for 'no tests'. | |
| list_only | No | If true, list discovered tests matching `filter` without running them. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| errors | Yes | ||
| failed | Yes | ||
| passed | Yes | ||
| success | Yes | ||
| test_output | Yes | ||
| tests_found | Yes | ||
| build_output | Yes | ||
| duration_seconds | Yes |