refactor: extract pass/fail scanning in caliptra_runner.py and add a unit test Add scan_output_for_result(lines) to caliptra_runner.py: a standalone function that scans detokenized output lines for a PASS/FAIL sentinel, with no dependency on the emulator subprocess. This is what Task 5's fpga interface will reuse, and it's what makes this file unit-testable in a sandbox with no board/emulator binary available. Add caliptra_runner_test.py covering the no-sentinel, PASS, FAIL, and first-sentinel-wins cases, and wire it into BUILD.bazel as a py_test.
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.