Files
KNELDoorman/scripts/test.sh
T
mrcharles 84ea6e931e feat(doorman): badge listener + decoder TDD + deploy scaffolding [#355]
Modern successor of the 2018 Perl doorman (snapshot in legacy/):
bash+coreutils HID decoder, HA webhook dispatch, systemd unit.
Offline decoder suite green (9 tests); shellcheck zero-warning.

Umbrella #345. Work item: https://projects.knownelement.com/issues/355
2026-09-02 21:11:13 -05:00

15 lines
328 B
Bash
Executable File

#!/usr/bin/env bash
#
# scripts/test.sh — project test runner (framework entry point).
#
# LOCAL GATE: offline decoder unit suite; no hardware required (#355
# scope: "test logic on the laptop").
#
set -uo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.." || exit 1
status=0
bash tests/run-tests.sh || status=1
exit "$status"