diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-07-06 18:28:58 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-08-21 08:33:26 +0000 |
commit | aea50556b04385eb31bf014bac6a46cf920cfc91 (patch) | |
tree | e2563f2b2403fa154476bc55b51bc5c5ead0e063 /tests/auto/blackbox/tst_blackboxapple.cpp | |
parent | fac33d11c81915facd8cdab14c83a0c3294205d0 (diff) |
Fix TestBlackboxApple::iconsetApp() for ios/tvos/watchos platforms
Change-Id: I69c3c393a61dff90899ca853e88d74cb6862dea9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxapple.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackboxapple.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackboxapple.cpp b/tests/auto/blackbox/tst_blackboxapple.cpp index 66008c97c..3b940bda4 100644 --- a/tests/auto/blackbox/tst_blackboxapple.cpp +++ b/tests/auto/blackbox/tst_blackboxapple.cpp @@ -750,7 +750,15 @@ void TestBlackboxApple::iconsetApp() params.arguments = QStringList() << "-f" << "iconsetapp.qbs"; QCOMPARE(runQbs(params), 0); - QVERIFY(regularFileExists(relativeProductBuildDir("iconsetapp") + "/iconsetapp.app/Contents/Resources/white.icns")); + if (m_qbsStdout.contains("isShallow: false")) { + QVERIFY(regularFileExists(relativeProductBuildDir("iconsetapp") + + "/iconsetapp.app/Contents/Resources/white.icns")); + } else if (m_qbsStdout.contains("isShallow: true")) { + QVERIFY(regularFileExists(relativeProductBuildDir("iconsetapp") + + "/iconsetapp.app/white.icns")); + } else { + QVERIFY2(false, qPrintable(m_qbsStdout)); + } } void TestBlackboxApple::infoPlist() |