QDoc: Test recovery from a failed collection page
A collection template may access data that a module does not carry.
If that render aborts the process, later output is lost. An end-to-end
case needs to detect a crash, a successful exit, or missing pages.
The fixture requires the failed page to be absent, a later page and
index to remain, and a normal non-zero exit with the page and resolved
template path in the diagnostic.
Done-with: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Fixes: QTBUG-146939
Change-Id: I693ecaf69485dde263b43b63e8d408409ecb0bab
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| commit | d1169b78b6186dd0ecc396007d334e4886a77e4a |
| parent | d89324ffe39397f535bd6f64c26514887ed3a7ba |
| author | Paul Wicking <paul.wicking@qt.io> |
| committer | Paul Wicking <paul.wicking@qt.io> |
| commit time | Thu, 1 Oct 2026 13:54:08 +0000 |
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/collection_no_cmake_info.qdocconf
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/expect-nonzero-exit
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/expect-stderr-contains
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/expected/collectionnocmakeinfo.index
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/expected/markdown/collection-no-cmake-info-continues.md
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/src/module.qdoc
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/src/page.qdoc
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/template/collection.md
- A src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/collection_no_cmake_info/template/page.md