aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 56dcd368c6..7ad5ee136e 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -319,6 +319,14 @@ QString TestQmllint::runQmllint(const QString &fileToLint,
if (isSilent)
QVERIFY(errors.isEmpty());
+
+ if (QTest::currentTestFailed()) {
+ qDebug() << "Command:" << process.program() << args.join(u' ');
+ qDebug() << "Exit status:" << process.exitStatus();
+ qDebug() << "Exit code:" << process.exitCode();
+ qDebug() << "stderr:" << errors;
+ qDebug() << "stdout:" << process.readAllStandardOutput();
+ }
};
verify(true);
args.removeLast();