-
Notifications
You must be signed in to change notification settings - Fork 0
Testing and Validation
Hugo edited this page Feb 26, 2026
·
1 revision
This page summarizes the test layers available in the repository.
These scripts compile and run multi-file C++ flows with and without instrumentation.
bash test/scripts/macos_compile.sh
bash test/scripts/linux_compile.shWhat they validate:
- plain and instrumented builds,
- source and object-link flows,
-
-x c++and-x=c++handling, -
-oand-o=<name>handling.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install git+https://github.com/CoreTrace/coretrace-testkit.git
python test/examples/test_smoke.py
python test/examples/test_help_smoke.py
python test/examples/test_extern_project.pyCoverage includes:
- basic CLI behavior,
- in-memory and instrumented examples,
- extern-project integration through FetchContent.
docker build -f test/docker/Dockerfile .The Docker build:
- installs LLVM/Clang toolchain,
- builds the project,
- runs Linux compile script,
- runs Python smoke scripts.
./scripts/format-check.sh
python3 scripts/ci/commit_checker.pyThese mirror CI quality gates.
.github/workflows/build.yml.github/workflows/clang-format.yml.github/workflows/commit-check.yml
Use these workflows as the source of truth for required checks before merge.
Start
Architecture
Instrumentation
Developer