Commit Graph
45 Commits
Author SHA1 Message Date
Dean ef7515f071 Merge pull request #12119 from dantdmdarealguy/test/check-compile-slow-cases
test(check-compile): keep slow syntax check cases within the CI time limit
2026-10-28 22:48:16 +13:00
Dean e6d54e4f44 Merge pull request #11928 from shurhundo/test/restore-response-output-coverage
test(check-compile): restore response output preservation coverage
2026-10-28 22:31:39 +13:00
dantdmdarealguy f8ddd30ce1 test(check-compile): keep slow syntax check cases within the CI time limit
test_library_directory_values_can_look_like_modes passed -L -E as mode
flags, so check_modes took the -E for a preprocessing mode and dropped -c.
Its control commands linked an executable with each compiler, which on
the Windows runner goes through link.exe; the case took about twice as
long as its -I -E counterpart and timed out in 6 Windows CI jobs. The
-L -E pair now goes through configure like the include directory case,
so the control only compiles. The command check_compile checks is the
same, since it drops -c.

test_response_options_compile_without_changing_build_outputs ran 30
check_compile invocations in one case. Its six response files are now
checked by three cases of two.
2026-10-27 16:45:03 -05:00
rooklz fe80227fce fix(tools): reject unmodeled save-temps modes in syntax checks 2026-10-27 10:14:45 +00:00
Queuze 4564b15ee1 test(tools): restore response output preservation coverage 2026-10-27 13:46:32 +08:00
Queuze 348c6fd80b test(check-compile): combine syntax fixes 2026-10-24 21:18:08 -03:00
Queuze b38b41aa8a fix(check-compile): enforce syntax mode 2026-10-24 21:10:27 -03:00
Queuze ed3eb27141 test(check-compile): cover forwarded rsp flags 2026-10-24 20:16:41 -03:00
Queuze dc15446739 fix(check-compile): reject text-mode ambiguities 2026-10-24 20:15:22 -03:00
Queuze e9ff1cd371 test(check-compile): shard syntax check cases 2026-10-24 20:00:42 -03:00
Queuze a0f155e10f chore: combine response and output safety tests 2026-10-24 19:22:32 -03:00
Queuze 034bc58613 fix(check-compile): parse GNU response options 2026-10-24 19:21:38 -03:00
Queuze f3657ab232 test(check-compile): cover response option tokens 2026-10-24 19:13:05 -03:00
shurhundo 7221249a9a fix(check-compile): expand response files recursively with cycle and depth protection 2026-10-24 21:53:05 +08:00
shurhundo f12344718a fix(check-compile): expand response files before syntax checks 2026-10-24 15:45:44 +08:00
Luka Petrovic a0ce5788b3 fix(tools): validate compilation database entries 2026-10-23 19:38:59 +02:00
Kovalev Vladislav 9780aa25a7 test(tools): preserve Clang saved temporary fixtures 2026-10-23 12:18:01 +06:00
Kovalev Vladislav b874dc57b9 test(tools): split syntax check suites within CI time limit 2026-10-23 12:15:22 +06:00
Kovalev Vladislav 6229cd07eb test(tools): respect compiler handling of unknown save modes 2026-10-23 12:15:22 +06:00
Kovalev Vladislav 34349949dd fix(tools): strip save-temps flags from syntax checks 2026-10-23 12:15:22 +06:00
emirplus 8cded11b59 fix(tools): decode compile commands JSON with utf-8-sig in check_compile 2026-10-21 21:41:47 +03:00
Dean aac52270ff Merge pull request #8515 from xTRACKGOD/fix/tools-check-compile-external-sources
fix(tools): find compile commands for sources outside checkout
2026-10-21 17:47:53 +13:00
xTRACKGOD dc9a15aede fix(tools): find compile commands for sources outside checkout 2026-10-20 19:58:22 +05:30
Henryisdjfunkyho 42701b2906 fix(tools): reject unexpanded response files in syntax checks 2026-10-19 22:49:45 -07:00
Dean d6b03aa8fa Merge pull request #8031 from orezraey/fix/check-compile-ninja-encoding
fix(tools): decode check_compile's Ninja commands in the build-file encoding
2026-10-20 18:33:55 +13:00
Dean a020d02560 Merge pull request #7718 from To3akaRin/codex/fix-syntax-check-dependency-flags
fix(tools): strip dependency options before syntax checks
2026-10-20 15:53:38 +13:00
orezraeyandClaude Opus 5.5 6c039bd3e2 fix(tools): report a failed Ninja wincodepage query in check_compile
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 15:10:53 -03:00
orezraeyandClaude Opus 5.5 26a7d9c8ec fix(tools): decode check_compile's Ninja commands in the build-file encoding
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 15:10:52 -03:00
To3akaRin 7e8aa10ae6 fix(tools): strip dependency options before syntax checks 2026-10-19 10:43:00 +08:00
MrMha 3e906dce25 feat: run independent syntax checks with configurable concurrency 2026-10-18 10:17:24 +04:00
Kaua 316ad40b46 fix(tools): write check_compile output as UTF-8 2026-10-17 21:07:01 -03:00
Dean 027cc4efc9 Merge pull request #6577 from GalaxyGamingFR/fix/check-compile-merge-base
fix(check_compile): take changed units from the merge base
2026-10-18 12:56:47 +13:00
Dean f25a3d8596 Merge pull request #7232 from Lyrilika/fix/check-compile-all-configurations
fix(tools): check every compilation configuration
2026-10-18 10:12:15 +13:00
Lyrilika 6f4ffeecc0 fix(tools): check every compilation configuration 2026-10-17 20:17:55 +02:00
MrMha d33f0371a2 fix: expand Ninja response files before syntax checks 2026-10-17 18:39:37 +04:00
Dean 04788b0902 Merge pull request #6426 from MrMha/fix/compile-fragment-preservation-20261015
fix: suppress Clang compilation fragments during syntax checks
2026-10-18 02:09:30 +13:00
Adrià db7176f8a8 Merge pull request #6116 from ArjenS-LA/fix/compile-database-arguments
fix(tools): accept compilation database argument arrays
2026-10-17 01:35:39 +02:00
Adrià c7b6f2d12e Merge pull request #6055 from MiniRML/fix/compile-check-windows-arguments
fix(tools): parse Windows compile commands without losing backslashes
2026-10-16 23:26:07 +02:00
GalaxyGamingFRandClaude Opus 5.5 1cfa32a86b fix(check_compile): take changed units from the merge base
changed() diffed the working tree against the tip of the base, so files
changed only on upstream main since the branch point were reported and
compiled. It now diffs against the merge base of the base and HEAD.
A regression test covers a base-only change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 13:50:17 -07:00
MrMha a80a81d80c fix: suppress Clang compilation fragments during syntax checks 2026-10-15 18:54:47 +04:00
ArjenS-LA e715f9855b fix(tools): accept compilation database argument arrays 2026-10-14 15:37:10 -07:00
MiniRML d5547c1b42 fix(tools): parse Windows compile commands without losing backslashes 2026-10-14 13:56:48 -07:00
RINNECODER ce17977ed9 fix(tools): key compile commands relative to the checkout in check_compile
The key was the source path relative to the common parent of the build
directory and the source. With a build directory beside the checkout
that parent is above the checkout, so the key carried the checkout
directory name and no changed file matched. The key is now the source
path relative to the repository root.
2026-10-14 11:30:20 -05:00
adriadam10 94632df42f test(tools): resolve the temp root and give the compdb stub a Windows launcher 2026-10-14 12:31:52 +02:00
Dextroid17 955c60e32f feat(tools): compile the changed translation units only 2026-10-14 12:31:35 +02:00