diff options
author | Tatiana Borisova <tatiana.borisova@qt.io> | 2021-10-06 16:54:31 +0300 |
---|---|---|
committer | Tatiana Borisova <tatiana.borisova@qt.io> | 2021-10-11 22:21:35 +0300 |
commit | 8a70b5f9d3a123aece2279786d5e896249af76ec (patch) | |
tree | 8f101d3d0fde7b3bcb2ff36de7d088e511dbbd52 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | 6eeacee7ac506a8a0d583ff278a55312b49ab21d (diff) |
Fix autotest private API part compilation for INTEGRITY
- process should be used with config check
Change-Id: Ie35df508cacb16078face96ef1834a895614a870
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 25c0166fa0..98b08a0e23 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -9274,6 +9274,9 @@ void tst_qqmlecmascript::hugeStack() void tst_qqmlecmascript::gcCrashRegressionTest() { +#if !QT_CONFIG(process) + QSKIP("Depends on QProcess"); +#else const QString qmljs = QLibraryInfo::path(QLibraryInfo::BinariesPath) + "/qmljs"; if (!QFile::exists(qmljs)) { QSKIP("Tets requires qmljs"); @@ -9317,6 +9320,7 @@ void tst_qqmlecmascript::gcCrashRegressionTest() QVERIFY(pid != 0); QVERIFY(process.waitForFinished()); QCOMPARE(process.exitCode(), 0); +#endif } void tst_qqmlecmascript::bindingOnQProperty() |