Skip to content

Commit 0571041

Browse files
committed
more debug logs
1 parent 0395ab7 commit 0571041

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/auto/autoupdatercore/UpdaterTest/installercontroller.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ InstallerController::InstallerController(QObject *parent) :
1919

2020
void InstallerController::createRepository()
2121
{
22+
qDebug() << "Creating repository";
2223
auto res = QProcess::execute(repogen, {"--update-new-components", "-p", _buildDir.path() + "/packages", _buildDir.path() + "/repository"});
2324
QCOMPARE(res, 0);
2425
}
2526

2627
void InstallerController::createInstaller()
2728
{
29+
qDebug() << "Creating installer";
2830
QFile configSrc(configFile);
2931
QFile configOut(_buildDir.path() + "/config.xml");
3032

@@ -44,13 +46,14 @@ void InstallerController::createInstaller()
4446

4547
void InstallerController::installLocal()
4648
{
49+
qDebug() << "Installing example";
4750
auto res = QProcess::execute(_buildDir.path() + "/QtAutoUpdaterTestInstaller", {"--script", configScript});
4851
QCOMPARE(res, 0);
4952
}
5053

5154
void InstallerController::runUpdater()
5255
{
53-
56+
qDebug() << "Running updater";
5457
}
5558

5659
QVersionNumber InstallerController::version() const
@@ -65,6 +68,7 @@ QString InstallerController::maintenanceToolPath() const
6568

6669
void InstallerController::setVersion(QVersionNumber version)
6770
{
71+
qDebug() << "Updating repository version";
6872
_version = version;
6973

7074
QDir tDir(_buildDir.path());

0 commit comments

Comments
 (0)