aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index 28033785ba..b1b9897edd 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -337,7 +337,7 @@ int quick_test_main(int argc, char **argv, const char *name, quick_test_viewport
// Flush the current logging stream.
QuickTestResult::setProgramName(0);
- saveCoverageTool(argv[0], QuickTestResult::exitCode());
+ saveCoverageTool(argv[0], QuickTestResult::exitCode() != 0);
//Sometimes delete app cause crash here with some qpa plugins,
//so we comment the follow line out to make them happy.