|
Some checks are pending
CI Benchmark - Fusion Loop Timing / Fusion Loop Timing Benchmark (push) Waiting to run
bf-3id (child of bf-2i4). Adds the per-test failure-recovery machinery to firmware/test/test_runner.c: - static jmp_buf g_test_jmp at file scope — the live setjmp() target the header ASSERT_* macros longjmp into; declared at file scope so the main() landing in bf-bq9 can setjmp() it directly before each test. - static int g_failure_count — a run-wide counter test_record_failure() bumps on each failure, so main() can return non-zero on any failure. - test_record_failure(file, line, fmt, ...) — prints file:line plus the vfprintf-formatted detail to stderr, bumps the counter, and longjmp()s into g_test_jmp so the current test aborts but the runner continues. main() (the setjmp caller + PASS/FAIL reporting + non-zero exit) is intentionally absent — it lands in the sibling bead bf-bq9. Until then this TU compiles to an object (gcc -std=c11 -Wall -Wextra -c) but has no live setjmp target for the longjmp, and does not link into a runnable harness. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||
| CMakeLists.txt | ||
| dependencies.lock | ||
| partitions.csv | ||
| sdkconfig.defaults | ||