check / check-without-hardware (push) Successful in 6m45s
- README, CHANGELOG, RELEASE_NOTES, THIRD_PARTY_NOTICES and docs/*.md translated to English; cross-markdown anchors updated - C/C++/Python/shell comments and user-facing messages translated - identifiers, protocol names, commands and literals unchanged - native tests re-verified: 24/24 PASS; tpms_frame.py self-test PASS
11 lines
508 B
Bash
Executable File
11 lines
508 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Returns a non-zero code on error and writes a readable report.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
RTL433="${RTL433:-$ROOT/.cache/rtl_433/build/src/rtl_433}"
|
|
REFERENCE_DIR="${REFERENCE_DIR:-$ROOT/.cache/rtl_433_tests/tests/Schrader_EG53MA4_TPMS/01}"
|
|
REPORT_DIR="${REPORT_DIR:-$ROOT/artifacts/validation}"
|
|
mkdir -p "$REPORT_DIR"
|
|
python3 "$ROOT/tools/verify_rtl433.py" --rtl433 "$RTL433" \
|
|
--reference-dir "$REFERENCE_DIR" | tee "$REPORT_DIR/rtl433-report.txt"
|