summaryrefslogtreecommitdiff
path: root/src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsascontainer.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-02-01 14:38:38 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-06-10 17:19:37 +0200
commitb85374f7c015784cc48afc002e9a80545d7caefa (patch)
treef1bf97b20f9ce1b953679458e1821f7d60a1f476 /src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsascontainer.cpp
parentdff02466a01caad885b6bd0759cf482342332306 (diff)
downloadqtdeclarative-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/exampleqjsascontainer.cpp')
0 files changed, 0 insertions, 0 deletions