diff options
author | Michael Winkelmann <michael.winkelmann@qt.io> | 2018-03-08 16:23:55 +0100 |
---|---|---|
committer | Michael Winkelmann <michael.winkelmann@qt.io> | 2018-03-08 15:31:19 +0000 |
commit | 5446be855becab2499611f2bc2280b74160f2e75 (patch) | |
tree | d827f9f33e333025cfe0c4e0e1763ce1f781b350 /tests/auto/qml/qv4mm | |
parent | ce831a4b69a6738fc0bea9b28bbe3e421f5c38a9 (diff) |
Remove QV4_MM_* env variables from old GC
With the new block based allocator introduced in 5.9, these variables have no effect anymore.
Also removed or modified the related autotests.
Change-Id: I3acbdd89ef75b93cebb065313e689e0a360d8687
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qv4mm')
-rw-r--r-- | tests/auto/qml/qv4mm/tst_qv4mm.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/auto/qml/qv4mm/tst_qv4mm.cpp b/tests/auto/qml/qv4mm/tst_qv4mm.cpp index d4ba363d00..07f8e9f1d1 100644 --- a/tests/auto/qml/qv4mm/tst_qv4mm.cpp +++ b/tests/auto/qml/qv4mm/tst_qv4mm.cpp @@ -28,6 +28,7 @@ #include <qtest.h> #include <QQmlEngine> +#include <QLoggingCategory> #include <private/qv4mm_p.h> class tst_qv4mm : public QObject @@ -36,23 +37,15 @@ class tst_qv4mm : public QObject private slots: void gcStats(); - void tweaks(); }; void tst_qv4mm::gcStats() { - qputenv(QV4_MM_STATS, "1"); + QLoggingCategory::setFilterRules("qt.qml.gc.*=true"); QQmlEngine engine; engine.collectGarbage(); } -void tst_qv4mm::tweaks() -{ - qputenv(QV4_MM_MAXBLOCK_SHIFT, "5"); - qputenv(QV4_MM_MAX_CHUNK_SIZE, "65536"); - QQmlEngine engine; -} - QTEST_MAIN(tst_qv4mm) #include "tst_qv4mm.moc" |