diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-01 14:38:38 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-06-10 17:19:37 +0200 |
commit | b85374f7c015784cc48afc002e9a80545d7caefa (patch) | |
tree | f1bf97b20f9ce1b953679458e1821f7d60a1f476 /src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp | |
parent | dff02466a01caad885b6bd0759cf482342332306 (diff) | |
download | qtdeclarative-b85374f7c015784cc48afc002e9a80545d7caefa.tar.gz |
Make uninteresting JS-test output easier to ignore
The JS-tests produce so much output that it routinely surpasses the
maximum number of debug messages testlib is willing to produce, after
which it cuts off and we don't get to see the output of failing tests,
which we actually need to see.
Add a logging category, just for this test, and condition the boring
bits on this category being enabled. Those are all qCDebug()s, so
disable the category for debug by default. In the process, re-enable a
commented-out qDebug() by converting it to use the new logging
category (and fixing the bit-rot that it had suffered while commented
out).
This should mean any future Coin failures in this test are reported
more usefully. If seeing all the PASS lines is really important to
you, enable category "qt.v4.ecma262.tests" in your Qt logging options
and pass -maxwarnings with a huge value when you run the test.
Pick-to: 6.4
Change-Id: I8ba1f6575120fcef533ae756d31cc40635c13370
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp')
0 files changed, 0 insertions, 0 deletions