Overview
| Comment: | Every branch of suit's own code is tested, and the gates that keep it so
make cover fails unless every function, line, region and branch in src/ is run by a test. Every system call goes through a wrapper in platform.c that a test build can make fail, so failed-call branches are tested too. The release binary carries none of that code, and a test checks it. Also: ensure() for invariants, a wider warning set as errors, the clang static analyzer, a second fuzz target for the stamp reader, a replay binary for saved fuzz inputs, a release build that the speed budget now measures, and make ci for the forge's Linux runner: the suite under gcc's sanitizers, then under a pinned Fil-C. 210 unit checks and 214 shell cases. The no-change run measured 0.56 to 0.60 ms over an empty program with the release build. The Fil-C run and the Linux build have not been run yet. They run first on the forge's runner. Decisions recorded: the wardrobe is two repositories, libfossil is used through its C API with suit's own file writer, and where each gate runs. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
3f905be4f2a2a6a1aa7ec1dfbd4504f4 |
| User & Date: | dmestas on 2026-11-12 21:17:36.920 |
| Other Links: | manifest | tags |
Context
|
2026-11-12
| ||
| 21:24 |
The suite builds and passes under gcc as well as clang
make ci was run here with gcc 16: the unit checks, the shell suite and the fuzz replay pass under its ASan and UBSan. Two test-only fixes came out of it: a buffer gcc flagged in the stamp fuzz target, and two stat calls in the shell suite that assumed macOS. The Fil-C fetch now verifies its download once and skips it when the cache is warm, and falls back to python3 when wget is missing. check-in: 76d18efd61 user: dmestas tags: trunk | |
| 21:17 |
Every branch of suit's own code is tested, and the gates that keep it so
make cover fails unless every function, line, region and branch in src/ is run by a test. Every system call goes through a wrapper in platform.c that a test build can make fail, so failed-call branches are tested too. The release binary carries none of that code, and a test checks it. Also: ensure() for invariants, a wider warning set as errors, the clang static analyzer, a second fuzz target for the stamp reader, a replay binary for saved fuzz inputs, a release build that the speed budget now measures, and make ci for the forge's Linux runner: the suite under gcc's sanitizers, then under a pinned Fil-C. 210 unit checks and 214 shell cases. The no-change run measured 0.56 to 0.60 ms over an empty program with the release build. The Fil-C run and the Linux build have not been run yet. They run first on the forge's runner. Decisions recorded: the wardrobe is two repositories, libfossil is used through its C API with suit's own file writer, and where each gate runs. check-in: 3f905be4f2 user: dmestas tags: trunk | |
| 19:36 |
Phase 1: the config parser, the no-change run and the speed bench
suit check parses suit.conf strictly and prints a canonical dump. Any unknown kind or key, duplicate, cycle or dangling name rejects the whole file with its line number. suit run compares a stamp against the files it names and exits without writing, allocating or printing when nothing changed. suit bench times suit run against an empty program built the same way and against /usr/bin/true, interleaved, and fails the build when the no-change run costs more than 1 ms over the empty program or 1 MiB more memory. It measured 0.65 to 0.94 ms over, quiet and under load. A system binary starts 0.6 to 1.5 ms faster than any built binary on macOS, so it is shown for information and is not the baseline. 94 unit checks, 100 shell cases and a libFuzzer target for the parser. check-in: 6d70dcc76a user: dmestas tags: trunk | |