Commit Graph
1116 Commits
Author SHA1 Message Date
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
Mohamed Malek Aifa 3ef5fc044b fix(tools): report deeply nested release notes JSON 2026-10-27 21:56:36 +01:00
Mohamed Malek Aifa f25c397e16 fix(tools): report sanitizer summary write failures 2026-10-27 21:44:08 +01:00
Mohamed Malek Aifa eca9bedd37 fix(tools): protect symbolizer module inputs 2026-10-27 21:43:11 +01:00
Mohamed Malek Aifa ddc4aad95a fix(tools): validate CMake file API reply objects 2026-10-27 21:06:17 +01:00
Cankiee 22e89180f6 fix(tools): match phase kind when settling 2026-10-27 18:39:03 +01:00
Adrià 228cd64b53 Merge pull request #11228 from ebosido444-ai/fix/web-failure-report
fix(web): keep the failure report with a failed conversion
2026-10-27 18:36:03 +01:00
Cankiee 0fdce2faf4 fix(tools): reject duplicate timeline buttons 2026-10-27 18:22:57 +01:00
JulesB40andClaude Opus 5.5 4743617701 test(tools): skip the configure seed CMake round trip without Ninja
The round trip configures with -G Ninja but only skipped when CMake was
missing, so it errored on hosts without Ninja. Require both, like the
other configure seed project tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 18:14:55 +01:00
Dean bbb11b6974 Merge pull request #11062 from MarcZX10/marc/ci-nightly-sanitizers
ci: run every test under ASan and UBSan nightly
2026-10-28 05:58:34 +13:00
Dean 519c898745 Merge pull request #10667 from roboterspinne/test/patch-advisor-quoted-paths
test(tools): compare quoted and resolved paths in the patch advisor test
2026-10-28 05:55:17 +13:00
pushkarreddyy fc2bda11b1 fix(tools): validate destination command path in pad_timeline 2026-10-27 21:56:40 +05:30
pushkarreddyy 488bd76652 fix(tools): handle missing git executable in check_main_sync 2026-10-27 21:45:18 +05:30
Maxime DEFRANCESandClaude Fable 5.1 cee4a89e34 test(tools): write the debt-length fixture as UTF-8 bytes
Path.write_text(newline=...) needs Python 3.10, and the Python tests run from 3.9. write_bytes writes the LF text unchanged on every version.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-27 16:50:06 +01:00
Maxime DEFRANCESandClaude Fable 5.1 ca88396896 test(tools): write the debt-length fixture with LF line endings
Path.write_text translates "\n" to the platform newline, so on native
Windows Python the committed fixture held CRLF and the checker counted
the carriage return: 1080 characters instead of 1079.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-27 16:04:15 +01:00
Mohamed Malek Aifa 802d506d1a fix(tools): report invalid web archive encoding 2026-10-27 15:27:37 +01:00
pushkarreddyy 953704f6e2 test(tools): skip annotate_module tests when GNU objdump is unavailable 2026-10-27 19:37:46 +05:30
rooklz ec90e82931 fix(tools): refuse TLS layouts the relinkers reject when unwrapping 2026-10-27 13:38:43 +00:00
Dean 625c94f696 Merge pull request #10761 from MarcZX10/marc/fix-trace-digest-event-fields
fix(tools): reject malformed trace events in trace_digest
2026-10-28 02:33:51 +13:00
Dean 717d862fa7 Merge pull request #10592 from Bram910/fix/performance-summary-nesting
fix(tools): report excessive summary JSON nesting
2026-10-28 02:33:07 +13:00
Dean f60e7d052b Merge pull request #10580 from Bram910/fix/unwrap-elf-versions
fix(tools): reject unsupported inner ELF versions
2026-10-28 02:32:34 +13:00
roboterspinne 34de2385aa test(tools): check the CI gate rule in one repository instead of one subprocess per case
conventions_ci_gate built a git repository and ran check_conventions.py
as a subprocess for each of its 35 checks, and took 40.57 s in the
Windows relinker CI job 122160160306. CONTRIBUTING.md requires every
test to finish in 30 s and to be shrunk when it gets close. The test now
commits each case as its own workflow file in one repository, runs one
real Check.workflows() in process and asserts each file's findings. Two
subprocess runs keep the end-to-end path: the repository's workflows
and one job without a gate.
2026-10-27 14:13:49 +01:00
Daniel Castrillon 0701378a56 feat(pad): inject touch coordinates through command files 2026-10-27 12:53:57 +01:00
rooklz fe80227fce fix(tools): reject unmodeled save-temps modes in syntax checks 2026-10-27 10:14:45 +00:00
Dean a636927e5f Merge pull request #8161 from Celegans12/feat/tools-ab-split
feat(tools): split the periodic reports of an APS5_AB run by phase
2026-10-27 21:34:47 +13:00
Dean f52d0373ea Merge pull request #11486 from plexerPK/codex/test-selection-git-paths
fix(ci): preserve changed paths in test selection
2026-10-27 21:27:02 +13:00
Dean 808a557ac3 Merge pull request #11343 from MarcZX10/marc/ci-mingw-host-only-tests
ci(windows): link host-only tests on pull requests
2026-10-27 21:23:20 +13:00
StoneDC 4b102f0603 fix(tools): enforce validation gate test timeout limits 2026-10-27 15:53:42 +08:00
StoneDC b090ce8004 fix(tools): recognize trailing return export definitions 2026-10-27 15:50:17 +08:00
StoneDC baa492dcc9 fix(tools): preserve configure seeds when writing fails 2026-10-27 15:50:13 +08:00
ebosido444-ai 638d81581c test(web): ship failure-report.mjs with the web release
The module is imported by app.mjs, so the release archive and its fixture have to carry it; the packaging test listed it as missing.
2026-10-27 07:52:34 +01:00
MarcZX10 03ed97c6fb test(tools): cover a sanitizer report without tests
Check that an empty testsuite and an empty testsuites file both exit with 2, print nothing and leave the --summary file untouched. The test fails with the previous behavior, which reported 0 tests and exit code 0.
2026-10-27 06:35:01 +00:00
MarcZX10 fae208569a test(tools): check the repository's known sanitizer failures
Parse .github/sanitizer-known-failures.txt for every sanitizer and check that its entries stay sorted by test name, so a malformed or misplaced entry fails the sanitizer_report test in the regular build of the pull request that adds it, instead of the next nightly run. Names that no longer match a test are reported by the nightly summary, since many test names are generated in CMake loops.
2026-10-27 06:34:54 +00:00
MarcZX10 f533409117 test(tools): cover ctest's not-run tests in the sanitizer summary
Use the shapes ctest writes: a not-run test with SKIP_RETURN_CODE=77 or SKIP_REGULAR_EXPRESSION_MATCHED is a skip, while a not-run test whose executable is missing ('Unable to find executable') or whose skipped element has no message is a failure that fails the run. The test fails with the previous classification.
2026-10-27 06:34:54 +00:00
MarcZX10 1c9757015b test(tools): cover the first sanitizer report of failed tests
Check that the SUMMARY line wins over the ERROR line, that LSan and TSan lines and a UBSan runtime error with its source location are found, that output without a sanitizer line gives nothing, that long lines are shortened, and that the failed test table gains the report column only when a failure has a report.
2026-10-27 06:34:54 +00:00
MarcZX10 851d4498e1 test(tools): cover known sanitizer failures that pass or did not run
Check that a listed test that passed appears in the passed table with its reason, that a listed test missing from the run appears in the not-run table, that a skipped listed test appears in neither, and that a run whose known failures all still fail has neither table.
2026-10-27 06:34:54 +00:00
MarcZX10 b8eab90620 test(tools): cover known sanitizer failures
Check that known failures apply only to the sanitizers they name and that blank lines are skipped, that a listed failure moves to the Known failure table with its reason escaped for Markdown and stops failing the run while an unlisted one still fails it, that --known without --sanitizer is a usage error, and that malformed lines are rejected with exit code 2 and their line number.
2026-10-27 06:34:54 +00:00
MarcZX10 a2ab196682 test(tools): cover the sanitizer run summary
Check how sanitizer_report classifies passed, failed, skipped, not run and disabled tests, the counts and sorted table of the summary, the exit code for runs with and without failures, the exit code 2 for unreadable or malformed reports, and that --summary appends to an existing file.
2026-10-27 06:34:53 +00:00
Dean 31a50b73d6 Merge pull request #11527 from StoneDC/fix/history-report-output-errors
fix(tools): report history output failures as usage errors
2026-10-27 19:04:07 +13:00
Dean 3067e92814 Merge pull request #11526 from StoneDC/fix/nid-download-content
fix(tools): validate downloaded NID data before caching
2026-10-27 19:03:52 +13:00
Dean f30d46345e Merge pull request #11523 from StoneDC/fix/progress-counter-validation
fix(tools): validate library counters before progress comparisons
2026-10-27 19:03:13 +13:00
Dean 6dca6acab4 Merge pull request #11512 from pushkarreddyy/fix/prepare-release-notes-json-shapes
fix(tools): handle unexpected JSON response shapes in prepare_release_notes
2026-10-27 19:01:50 +13:00
Queuze 4564b15ee1 test(tools): restore response output preservation coverage 2026-10-27 13:46:32 +08:00
Dean 985e4e0cb6 Merge pull request #11473 from MarcZX10/marc/fix-windows-prx-name-case
fix(tools): fold Windows PRX suffix case
2026-10-27 18:39:51 +13:00
xXPBSXxandClaude Sonnet 5.5 6d52a852fe test(tools): give the check_stub subprocess more time
check_stub runs check_conventions.py in a temporary repository with a
10 s limit. The slowest tests of this file take 8 to 11 s each on a
Windows 10 machine here, and in a full ctest run the call exceeded the
limit (subprocess.TimeoutExpired after 10 seconds), so
conventions_function_bodies_shard_5 failed although it passes on its
own. The limit is now 120 s, the same as the ctest timeout of the shard.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 06:39:49 +01:00
Dean b182e3c1b7 Merge pull request #11460 from StoneDC/fix/web-release-zip-errors
fix(tools): reject unsupported release ZIP entries cleanly
2026-10-27 18:39:22 +13:00
Dean ad622fc18d Merge pull request #11430 from StoneDC/fix/ctest-quoted-semicolons
fix(tools): preserve quoted CMake semicolon escapes
2026-10-27 18:38:27 +13:00
Dean 2812b2987b Merge pull request #11428 from StoneDC/fix/release-notes-final-body-limit
fix(tools): reject oversized final release note bodies
2026-10-27 18:38:12 +13:00
Dean 6e747a2a3b Merge pull request #11427 from StoneDC/fix/symbolizer-module-read-errors
fix(tools): keep unreadable sampler modules unsymbolized
2026-10-27 18:37:58 +13:00
Dean 1a7ac56d27 Merge pull request #11355 from hakarrr/fix/preserve-sampler-captures
fix(tools): preserve raw captures when symbolizing samples
2026-10-27 18:34:10 +13:00