test-suites
system module test-suites
<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">
<img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela/sleela-logo-004.jpg" alt="SLeeLa">
SLeeLa Test Suites
/test-suites is the repository-level verification system for SLeeLa.
Layers:
- C ABI/API tests.
- C++ contract and behavior tests.
- Header and translation-unit audits.
- Runtime smoke and integration tests.
- Explicit TEST.MAP.yml function-to-test mapping.
- Generated FUNCTION.COVERAGE.md and FUNCTION.COVERAGE.json inventories.
- Behavioral-test skeleton generation for compile-only gaps.
- Negative/security and regression corpora.
- ASan/UBSan sanitizer execution where supported.
- Optional gcov/LLVM runtime coverage.
- CI artifact collection.
Quick start: ./test-suites/run-all.sh ./test-suites/run-all.sh --audit ./test-suites/run-all.sh --coverage ./test-suites/run-all.sh --sanitizers
Standalone translation-unit audit (--audit / --headers)
The audit compiles every SLeeLa-authored .c/.cpp (and, in --headers
mode, every .h/.hpp) on its own with the strict warning set
(-Wall -Wextra -Wpedantic -Wconversion -Wshadow -Wformat=2 -Werror,
-std=c11 / -std=c++20). It verifies each file is self-consistent, not that
the whole program links. Two rules keep the result meaningful:
- Include resolution mirrors the real build. Each unit is compiled with its
own directory and its module's
include/andsrc/directories FIRST (so a subsystem's own header wins over a same-named header elsewhere in the tree — several subsystems define different structs under the same header name), then the common repository roots the per-module Makefiles add (impl/core,impl/frontend, the subject-library dirs,runtime,bash,include). Overridable viaC_STD/CXX_STD. - Only committed source is audited. Transient build output (anything under
build//.build/, including the unpacked vendored nghttp2 tree, and the compiled smoke-test binaries thetests/Makefile emits) is never fed to the compiler as if it were source.
Units that require a foreign OS SDK not present on the audit host are reported as SKIP, not FAIL, because they can only build on their target OS (and are covered by the per-OS build workflows): the macOS CoreAudio backend, the Windows SDK (WASAPI / WRL) backend, and GTK-based GUI units.
Important: source-name inventory is heuristic evidence, not semantic proof. The audit is a lint/consistency gate; runtime instrumentation and explicit behavioral assertions remain the authoritative evidence for behavior.
See TEST.MATRIX.md, FUNCTION.COVERAGE.POLICY.md, TEST.MAP.yml, CI.MATRIX.md, negative/, regression/, and sanitizers/.
SLeeLa
<p align="center"><img src="images/sleela/sleela-wordmark.svg" alt="SLeeLa — The Now. The Ingredient." width="560"></p> <p align="center"><img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela-programming-language-002.jpg" alt="SLeeLa Marketing Logo" width="560"></p>
Files 102
- c/test_assert.h
- c/test_c_api_headers.c
- c/test_http_bridge.c
- CI.MATRIX.md
- cpp/test_annotations.cpp
- cpp/test_class_contracts.cpp
- cpp/test_debugger.cpp
- cpp/test_frontend_annotations.cpp
- cpp/test_fundamental_transports.cpp
- FUNCTION.COVERAGE.POLICY.md
- generate-behavior-skeletons.py
- generate-function-coverage.py
- generate-function-coverage.sh
- java-runtime-bridge.sh
- java-runtime-probe.sh
- negative/README.md
- README.md
- regression/c/events_portable.c
- regression/c/reg_events.c
- regression/c/reg_http6.c
- regression/c/reg_java_string.c
- regression/c/reg_java_string_codec.c
- regression/c/reg_memmgr.c
- regression/c/reg_net.c
- regression/c/reg_path.c
- regression/c/reg_regex.c
- regression/c/reg_router.c
- regression/c/reg_support.c
- regression/c/reg_synchro.c
- regression/c/reg_thread.c
- regression/c/reg_time_memory.c
- regression/c/reg_utf16.c
- regression/c/regression.h
- regression/corpus/annotations/annotation-after-declaration.sleela
- regression/corpus/annotations/class-bound-annotation-is-not-document-metadata.sleela
- regression/corpus/annotations/field-bound-next-absolute.sleela
- regression/corpus/annotations/forwarded-destination-keeps-its-slashes.sleela
- regression/corpus/annotations/method-bound-next-parent.sleela
- regression/corpus/annotations/next-absolute-path.sleela
- regression/corpus/annotations/next-backslash.sleela
- regression/corpus/annotations/next-bare-marker.sleela
- regression/corpus/annotations/next-drive-letter.sleela
- regression/corpus/annotations/next-embedded-parent.sleela
- regression/corpus/annotations/next-empty-value.sleela
- regression/corpus/annotations/next-multiple-checks.sleela
- regression/corpus/annotations/next-multiple-forwarding.sleela
- regression/corpus/annotations/next-parent-traversal.sleela
- regression/corpus/annotations/next-percent-encoded-parent.sleela
- regression/corpus/annotations/ok-document-annotations.sleela
- regression/corpus/annotations/scope-duplicate.sleela
- regression/corpus/annotations/spaced-destination-words-stay-apart.sleela
- regression/corpus/annotations/unknown-annotation.sleela
- regression/corpus/annotations/unterminated-parenthesis.sleela
- regression/corpus/parser/blank-and-whitespace-lines.sleela
- regression/corpus/parser/duplicate-method.sleela
- regression/corpus/parser/empty-file.sleela
- regression/corpus/parser/every-comment-form.sleela
- regression/corpus/parser/integer-literal-overflow.sleela
- regression/corpus/parser/largest-long-literal.sleela
- regression/corpus/parser/missing-closing-brace.sleela
- regression/corpus/parser/no-classes.sleela
- regression/corpus/parser/no-trailing-newline.sleela
- regression/corpus/parser/nul-byte-in-source.sleela
- regression/corpus/parser/pragma-huge-number.sleela
- regression/corpus/parser/pragma-malformed.sleela
- regression/corpus/parser/pragma-too-new.sleela
- regression/corpus/parser/pragma-too-old.sleela
- regression/corpus/parser/undeclared-variable.sleela
- regression/corpus/parser/unicode-string-literal.sleela
- regression/corpus/parser/unknown-type.sleela
- regression/corpus/parser/unterminated-block-comment.sleela
- regression/corpus/parser/unterminated-string.sleela
- regression/corpus/README.md
- regression/corpus/tools/http6_decode.c
- regression/cpp/reg_lexer.cpp
- regression/cpp/reg_model.cpp
- regression/PROGRESS.NOVEMBER.17.2026.md
- regression/python/regression_support.py
- regression/python/run_regression.py
- regression/python/test_cli_contract.py
- regression/python/test_cli_language.py
- regression/python/test_cli_transpilers.py
- regression/python/test_corpus.py
- regression/python/test_ctypes_differential.py
- regression/python/test_doc_versions.py
- regression/python/test_integrity_tools.py
- regression/python/test_mutation_kill.py
- regression/python/test_native_suites.py
- regression/README.md
- run-all.sh
- runtime-coverage.sh
- sanitizers/run.sh
- sleela-source-behavior.sh
- SLEELA.SOURCE.BEHAVIOR.md
- test-device-instructor.sh
- test-guidoc.sh
- test-library-inventory.sh
- test-long-medium-averages.sh
- test-long-term-potencies.sh
- test-trading-actions.sh
- TEST.MAP.yml
- TEST.MATRIX.md