summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/qiviabstractfeature/tst_qiviabstractfeature.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/core/qiviabstractfeature/tst_qiviabstractfeature.cpp b/tests/auto/core/qiviabstractfeature/tst_qiviabstractfeature.cpp
index 9e24e0e..be3c75b 100644
--- a/tests/auto/core/qiviabstractfeature/tst_qiviabstractfeature.cpp
+++ b/tests/auto/core/qiviabstractfeature/tst_qiviabstractfeature.cpp
@@ -586,10 +586,10 @@ int main(int argc, char *argv[])
tst_QIviAbstractFeature f;
tst_QIviAbstractFeatureListModel lM;
QTEST_SET_MAIN_SOURCE_PATH
- bool feature = QTest::qExec(&f, argc, argv);
- bool featureModel = QTest::qExec(&lM, argc, argv);
+ int featureErrors = QTest::qExec(&f, argc, argv);
+ int featureModelErrors = QTest::qExec(&lM, argc, argv);
- return feature && featureModel;
+ return featureErrors + featureModelErrors;
}
#include "tst_qiviabstractfeature.moc"