tst_macdeployqt: fix runVerifyDeployment()
QList rather pointlessly has a startsWith() function, which means this code compiled. But the code makes no sense: it tests the same condition over and over again, so I'm assuming that it should be path.startsWith() and not path_s_.startsWith(). Amends 3f56950862181f4d50f30d66f577c933795522c3, but that just imported the code from qttools. I didn't check whether the bug was present there, already. Change-Id: I98a4bbfe0400700655a5c2137f7a976a835a8d28 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 52ef958429cf09a46f71d0165bb4150c61f76ebc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8d0833a81b
commit
5bae58bb45
@ -203,7 +203,7 @@ void runVerifyDeployment(const QString &name)
|
|||||||
part = part.trimmed();
|
part = part.trimmed();
|
||||||
if (part.isEmpty())
|
if (part.isEmpty())
|
||||||
continue;
|
continue;
|
||||||
QVERIFY(!parts.startsWith(qtPath));
|
QVERIFY(!part.startsWith(qtPath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user