From 5b98f1a1e932525cfe7ca7d1b620c026185b8888 Mon Sep 17 00:00:00 2001 From: ispyisail Date: Sat, 10 Oct 2026 20:56:25 +1300 Subject: [PATCH] Skip the folio-deletion test where --run is not built CI builds without Qt Qml, so --run is not compiled in and the test's QElectroTech opened the project and waited until the 180 s timeout. The test now skips when QET_HAS_SCRIPTING is not defined, as the other --run tests are left out of such builds. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019Wga9B92BNurDEtxxtCDxf --- 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 360d540ba..9daf85886 100644 --- a/tests/qttest/tst_resaveunchanged.cpp +++ b/tests/qttest/tst_resaveunchanged.cpp @@ -188,6 +188,9 @@ private slots: // with no data. industrial.qet's folio 46 (index 45) holds such a part. void deletedFolioKeepsTableChain() { +#ifndef QET_HAS_SCRIPTING + QSKIP("needs --run: this QElectroTech is built without Qt Qml"); +#endif const QString out = m_dir.filePath(QStringLiteral("deleted_folio.qet")); const QString script = m_dir.filePath(QStringLiteral("deleted_folio.js")); QFile js(script);