Commit Graph
10 Commits
Author SHA1 Message Date
Adrià 8c5516ce24 Merge pull request #5737 from wachi35676/fix/tools-registration-multi-config
fix(tools): count tests registered per configuration as run
2026-10-15 15:05:50 +02:00
Adrià 4ae78dc136 Merge pull request #5012 from ideabsassistenza/fix/registration-bracket-comments
fix(tests): ignore bracket comments in registration audit
2026-10-14 19:39:57 +02:00
Muhammad Wasif Ali WasifandClaude Opus 5.5 c53c349095 fix(tools): count tests registered per configuration as run
Ninja Multi-Config writes one add_test per configuration and a final NOT_AVAILABLE one for the same name. The audit kept only the last, so every test executable was reported as never run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 13:37:17 +05:00
Rujul Talekar 39317d5b31 fix(tools): decode Ninja targets using its build-file encoding 2026-10-14 10:50:32 +05:30
Rujul Talekar 290675799e test(tools): drop the Ninja-on-PATH requirement from the registration suite
Remove test_built_uses_configured_ninja_outside_path per review: it copied
whatever ninja was on PATH and asserted one existed, so the suite failed on
exactly the setup this PR fixes. The rewritten tests already verify the
configured CMAKE_MAKE_PROGRAM is the program that runs; the suite now passes
with and without Ninja on PATH on Windows and Linux.
2026-10-13 14:51:04 +05:30
ideabsassistenza 8a51ff3154 fix(tests): ignore bracket comments in registration audit 2026-10-13 10:07:08 +02:00
Rujul Talekar 0c52b2a0b0 fix(tools): use configured CMAKE_MAKE_PROGRAM for test registration audit
tools/check_test_registration.py invoked bare ninja from PATH, so the audit failed with FileNotFoundError when the configured Ninja lived outside PATH. Read CMAKE_MAKE_PROGRAM from the build directory CMakeCache.txt and fail honestly when it is missing. Adapt the mocked built tests to a configured build and add a regression that runs a real Ninja from a path with spaces outside PATH.
2026-10-12 21:59:53 +05:30
ArjenS-LA 9504762edb fix(tools): ignore unreachable CTest registration files 2026-10-12 00:00:28 -07:00
MrMha 0ffd244af2 fix(ci): preserve test discovery and skip diagnostics 2026-10-11 18:25:36 +04:00
Привалов Александр Владимирович e419096bff fix(tools): ignore test names when checking executable registration 2026-10-10 09:54:44 +02:00