Bring relays.c into warden-sdk/drivers/ behind a relay_io seam (ADR-0005): the sysfs plumbing is an injectable backend, the gpio root is $WARDEN_GPIO_ROOT- overridable. Host harness (drivers/relays/test/) reaches 100% MC/DC (40/40 conditions, 100% lines) by combining fake-io unit tests (logic branches incl. export->node-appears) with real-sysfs integration tests over a scratch tree (backend fopen/stat branches). CI `mcdc` job enforces 100% across drivers/*/test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
17 lines
259 B
Plaintext
17 lines
259 B
Plaintext
# Rust
|
|
target/
|
|
**/target/
|
|
# Cargo.lock IS committed (reproducible builds; CI uses --locked).
|
|
|
|
# build artifacts (firmware/kernel objects are rebuilt from source)
|
|
*.o
|
|
*.a
|
|
|
|
# scratch / editor
|
|
*.swp
|
|
*~
|
|
.DS_Store
|
|
|
|
# driver MC/DC harness build dirs
|
|
**/test/build/
|