Convert qDebug() to report_info() in testing code

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-26 14:05:35 +01:00 committed by bstoeger
parent 4de109bbf1
commit 6dd5ec296d
3 changed files with 14 additions and 14 deletions

View file

@ -3,13 +3,13 @@
#include "core/device.h"
#include "core/divelog.h"
#include "core/divesite.h"
#include "core/errorhelper.h"
#include "core/trip.h"
#include "core/file.h"
#include "core/git-access.h"
#include "core/settings/qPrefProxy.h"
#include "core/settings/qPrefCloudStorage.h"
#include <QFile>
#include <QDebug>
#include <QNetworkProxy>
#include "QTextCodec"
@ -61,8 +61,8 @@ void TestParsePerformance::parseSsrf()
// parsing of a V2 file should work
QFile largeSsrfFile(SUBSURFACE_TEST_DATA "/dives/large-anon.ssrf");
if (!largeSsrfFile.exists()) {
qDebug() << "missing large sample data file - available at " LARGE_TEST_REPO;
qDebug() << "clone the repo, uncompress the file and copy it to " SUBSURFACE_TEST_DATA "/dives/large-anon.ssrf";
report_info("missing large sample data file - available at " LARGE_TEST_REPO);
report_info("clone the repo, uncompress the file and copy it to " SUBSURFACE_TEST_DATA "/dives/large-anon.ssrf");
return;
}
QBENCHMARK {