From e05b511cb24b45828b4387ecc4de89ddc4d4ac45 Mon Sep 17 00:00:00 2001 From: ispyisail Date: Sun, 18 Oct 2026 21:51:25 +1300 Subject: [PATCH] Tests: skip linkRowsAfterLazyEdit on a build without --run linkRowsAfterLazyEdit() (#1523) edits a project through --run, which a QElectroTech built without Qt Qml does not have. The Linux CI builds it that way, so the test has failed there since #1523 merged, on master (e46bb97c5) and on every pull request after it: "MOVED true" is never printed. It now skips, as the five other --run tests of tst_resaveunchanged do. Co-Authored-By: Claude Opus 5.5 --- tests/qttest/tst_resaveunchanged.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qttest/tst_resaveunchanged.cpp b/tests/qttest/tst_resaveunchanged.cpp index 9b4fc112d..5fdeff080 100644 --- a/tests/qttest/tst_resaveunchanged.cpp +++ b/tests/qttest/tst_resaveunchanged.cpp @@ -459,6 +459,9 @@ private slots: // the partners were built in (QETZ-DB-FIRST stage 2a). void linkRowsAfterLazyEdit() { +#ifndef QET_HAS_SCRIPTING + QSKIP("needs --run: this QElectroTech is built without Qt Qml"); +#endif const QString qetz = m_dir.filePath(QStringLiteral("links%1.qetz").arg(m_run)); QVERIFY(!runChecked({QStringLiteral("--resave"), QStringLiteral(QET_EXAMPLES_DIR "/m_000.qet"), qetz}, true).isEmpty());