wait for sycoca to finish
This commit is contained in:
parent
2b2764cc44
commit
200d71c943
@ -77,10 +77,8 @@ static void runKBuildSycoca()
|
|||||||
proc.setProcessChannelMode(QProcess::MergedChannels); // silence kbuildsycoca output
|
proc.setProcessChannelMode(QProcess::MergedChannels); // silence kbuildsycoca output
|
||||||
proc.start(kbuildsycoca, args);
|
proc.start(kbuildsycoca, args);
|
||||||
|
|
||||||
//qDebug() << "waiting for signal";
|
QSignalSpy spy(KSycoca::self(), SIGNAL(databaseChanged(QStringList)));
|
||||||
//QSignalSpy spy(KSycoca::self(), SIGNAL(databaseChanged(QStringList)));
|
QVERIFY(spy.wait(10000));
|
||||||
//QVERIFY(spy.wait(10000));
|
|
||||||
//qDebug() << "got signal";
|
|
||||||
|
|
||||||
proc.waitForFinished();
|
proc.waitForFinished();
|
||||||
QCOMPARE(proc.exitStatus(), QProcess::NormalExit);
|
QCOMPARE(proc.exitStatus(), QProcess::NormalExit);
|
||||||
|
Loading…
Reference in New Issue
Block a user