chore(tests): move integration_tests under tests/integration_tests#689
Merged
chore(tests): move integration_tests under tests/integration_tests#689
Conversation
Relocate the top-level integration_tests/ directory to
tests/integration_tests/ to match the ecosystem-wide
tests/{unit,stress,integration_tests,benchmarks} layout.
Update tests/CMakeLists.txt to add the subdirectory under
the existing THREAD_BUILD_INTEGRATION_TESTS gate, and remove
the legacy top-level branch from add_tests_subdirectory() in
cmake/thread_system_targets.cmake.
Repoint the build-output reference in scripts/run_valgrind.sh
from build/integration_tests/ to build/tests/integration_tests/,
and update the hashFiles cache keys in
.github/workflows/integration-tests.yml to track the new
CMakeLists.txt path. Refresh active path mentions in
docs/TRACEABILITY.md and docs/guides/COVERAGE_GUIDE.md.
Part of #683.
This was referenced May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #686
Part of #683.
Summary
Move
integration_tests/totests/integration_tests/so the test layout matches the ecosystem-widetests/{unit,stress,integration_tests,benchmarks}/standard. Updatetests/CMakeLists.txtto add the subdirectory under the existingTHREAD_BUILD_INTEGRATION_TESTSgate, and remove the legacy top-level branch fromadd_tests_subdirectory()incmake/thread_system_targets.cmake.Changes
git mv integration_tests tests/integration_tests(25 files relocated)tests/CMakeLists.txt: add gatedadd_subdirectory(integration_tests)block; document layout in header comment.cmake/thread_system_targets.cmake: remove the now-dead top-level integration_tests branch fromadd_tests_subdirectory().scripts/run_valgrind.sh: update the binary path frombuild/integration_tests/tobuild/tests/integration_tests/since CMake places executables in their source-relative directory..github/workflows/integration-tests.yml: update twohashFiles()cache keys to point at the new CMakeLists.txt path.docs/TRACEABILITY.md,docs/guides/COVERAGE_GUIDE.md: refresh active path references.Test Plan
cmake -DTHREAD_BUILD_INTEGRATION_TESTS=ON --preset debugshould configure cleanlycmake --build --preset debugshould build integration_tests / smoke_tests / performance_testsctest --test-dir build-debug -R integrationshould passLocal toolchain (cmake, g++) is unavailable in this sandbox, so build verification was done by static inspection only (control-flow tokens balance, referenced include directories exist, no orphan paths). Full build verification will run on the eventual main-targeted release PR per ci-resilience policy.
Out of Scope
include/kcenon/thread/-- handled in refactor(layout): migrate legacy headers into include/kcenon/thread/ with deprecated forwarding #684 (merged)Verification of Source File Includes
Source files under
tests/integration_tests/{smoke,integration,scenarios,performance}/use#include "../framework/...". These are relative to the source file's own directory and remain correct after the move becauseframework/is still a sibling. CMakeCMAKE_SOURCE_DIRreferences in the moved CMakeLists.txt continue to resolve to the repo root and were left unchanged.