c-testsuite (vendored)
Snapshot of the single-exec test set from
https://github.com/c-testsuite/c-testsuite — a portable, MIT-licensed
collection of small standalone C programs designed for exercising
subset C compilers. Each NNNNN.c is a self-contained program; per
the suite spec, exit code 0 means pass and the program's stdout+stderr
must match NNNNN.c.expected.
We use this to widen test coverage for cc.scm beyond the
hand-written fixtures in tests/cc/. The runner lives at
scripts/boot-run-tests.sh (suite cc-ext) and classifies each
fixture as PASS, FAIL, or SKIP; SKIP covers tests that lean on
features cc.scm does not support yet (e.g. needs-libc,
needs-cpp cases beyond what our preprocessor handles, or anything
that fails to compile through our pipeline). As cc.scm grows the
SKIP count should drop and PASS should rise.
Each fixture has a .tags file describing portability/feature
requirements (portable, c89, c99, c11, needs-libc,
needs-cpp).
Licensing: LICENSE covers the runner/scaffolding from the upstream
project; TESTS-LICENSE covers the individual test programs. Both are
permissive (MIT / case-by-case attribution via upstream .otags).
We omit the .otags files here — refer to the upstream repo if you
need per-test provenance. Source tag for this snapshot:
c-testsuite/c-testsuite@main as of 2026-05-02.