summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2014-08-19 10:25:52 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2014-08-23 13:50:27 +0200
commit7232b022c8a584e4cb5746a1edef5b811594ddbf (patch)
tree14b56bab2513901316344a66ce507baa386ce3d8 /tests/auto
parent7c6a4276f0330238d3d9438dc58a528c6cd4c80a (diff)
tst_qsqlthread: Add debug about when threads finished.
Useful if someone is ever forced to try diagnose what goes wrong with this test. Change-Id: I4b5e607e6329b6ebad2b40b3f65d6cacbb6b7fcf Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp b/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp
index fc6122ebeb..298834caf6 100644
--- a/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp
+++ b/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp
@@ -77,7 +77,10 @@ public slots:
void cleanup();
protected slots:
- void threadFinished() { ++threadFinishedCount; }
+ void threadFinished() {
+ ++threadFinishedCount;
+ qDebug("Thread finished, total finished: %d", threadFinishedCount);
+ }
private slots:
void simpleThreading_data() { generic_data(); }