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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Wga9B92BNurDEtxxtCDxf
This commit is contained in:
ispyisail
2026-10-10 20:56:25 +13:00
parent 9a4a303503
commit 5b98f1a1e9
+3
View File
@@ -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);