Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
76d18efd61626e9fb398d84ef9eeffb1 |
| User & Date: | dmestas on 2026-11-12 21:24:35.131 |
| Other Links: | manifest | tags |
Context
|
2026-11-12
| ||
| 21:26 |
The assertion test silences stderr without freopen
glibc marks freopen's result as one that must be checked, so the Linux build failed with warnings as errors. The test already redirected stderr with dup2, which it now checks. check-in: f01e25f20a user: dmestas tags: trunk | |
| 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 | |