From 0559087617e938690ce5a56439303fc0763f7d12 Mon Sep 17 00:00:00 2001 From: ispyisail Date: Sat, 3 Oct 2026 09:49:54 +1300 Subject: [PATCH] Move tst_pdfreproducible so it does not clash with #1255 Both added their test right after tst_pdfpagesize in tests/qttest/CMakeLists.txt, so whichever merged second conflicted. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PJw3u5AdKQgQVPug8CzuMQ --- tests/qttest/CMakeLists.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/qttest/CMakeLists.txt b/tests/qttest/CMakeLists.txt index 1aea301e6..093c395a6 100644 --- a/tests/qttest/CMakeLists.txt +++ b/tests/qttest/CMakeLists.txt @@ -407,19 +407,6 @@ target_link_libraries(tst_pdfpagesize PRIVATE Qt::Test Qt::Gui) target_compile_definitions(tst_pdfpagesize PRIVATE "QET_TEST_BINARY_PATH=\"$\"") -# With SOURCE_DATE_EPOCH set, --export-pdf writes the same bytes for the -# same project in every run. Exports examples/741.qet several times, in -# separate processes. -add_executable( - tst_pdfreproducible - tst_pdfreproducible.cpp) -add_test(NAME tst_pdfreproducible COMMAND tst_pdfreproducible) -add_dependencies(tst_pdfreproducible qelectrotech) -target_link_libraries(tst_pdfreproducible PRIVATE Qt::Test) -target_compile_definitions(tst_pdfreproducible PRIVATE - "QET_TEST_BINARY_PATH=\"$\"" - "QET_EXAMPLES_DIR=\"${QET_DIR}/examples\"") - # One text per potential: the number goes on the same conductor in every # run when two conductors tie for longest. Exports # fixtures/one_text_per_potential_tie.qet through the real binary, several @@ -433,6 +420,19 @@ target_link_libraries(tst_potentialtextcarrier PRIVATE Qt::Test) target_compile_definitions(tst_potentialtextcarrier PRIVATE "QET_TEST_BINARY_PATH=\"$\"") +# With SOURCE_DATE_EPOCH set, --export-pdf writes the same bytes for the +# same project in every run. Exports examples/741.qet several times, in +# separate processes. +add_executable( + tst_pdfreproducible + tst_pdfreproducible.cpp) +add_test(NAME tst_pdfreproducible COMMAND tst_pdfreproducible) +add_dependencies(tst_pdfreproducible qelectrotech) +target_link_libraries(tst_pdfreproducible PRIVATE Qt::Test) +target_compile_definitions(tst_pdfreproducible PRIVATE + "QET_TEST_BINARY_PATH=\"$\"" + "QET_EXAMPLES_DIR=\"${QET_DIR}/examples\"") + # Hops where wires cross (issue #436): the geometry in wirehops.cpp, and # through the real binary, that --resave keeps the project setting and # adds nothing to a project without it.