mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-30 13:35:12 +02:00
Review feedback on #2878: the static assertions ran at the top level, so a failure exited the process before the `Passed:`/`Failed:` lines. tests/run-all.js totals those tokens, so the per-case counts were lost — it still went red via the non-zero exit, but the granular numbers were not in the totals. Route every case through the same `runTest()` wrapper the file already used for the integration cases, and build the case list inside a try so a missing or renamed `instinct-cli.py` / `start-observer.sh` is a reported failure rather than a crash. Reverting the fix now prints `Passed: 4, Failed: 7` and exits 1, naming all seven broken expectations instead of stopping at the first.