diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2016-10-19 15:09:24 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2016-10-23 10:39:56 +0000 |
commit | 7437ede145daeae918cf96a5a9bd10f363d280a2 (patch) | |
tree | 91c73c860061eebee00937d4fa49ddd90cbd5e3b /tests/auto/other/macplist/tst_macplist.cpp | |
parent | 9cac65bc66d8aa329df2c09ba9eedd3f8f08725b (diff) |
macOS: Don't build auto-tests as application bundles unless explicitly requested
Consistent with other Unix platforms, and internally consistent between tests,
as a lot of tests were already applying CONFIG -= app_bundle manually.
Change-Id: Icd2b7e1c08015b26137af60ff82fddbc753f0ff4
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/auto/other/macplist/tst_macplist.cpp')
-rw-r--r-- | tests/auto/other/macplist/tst_macplist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/other/macplist/tst_macplist.cpp b/tests/auto/other/macplist/tst_macplist.cpp index 0f07095b67..755cc462f5 100644 --- a/tests/auto/other/macplist/tst_macplist.cpp +++ b/tests/auto/other/macplist/tst_macplist.cpp @@ -155,9 +155,12 @@ void tst_MacPlist::test_plist() QString infoPlist = QLatin1String("Info.plist"); QDir dir(QCoreApplication::applicationDirPath()); +#ifndef Q_OS_MACOS + // macOS builds tests as single executables, iOS/tvOS/watchOS does not QVERIFY(dir.cdUp()); QVERIFY(dir.cdUp()); QVERIFY(dir.cdUp()); +#endif QVERIFY(dir.cd(QLatin1String("app"))); QVERIFY(dir.cd(QLatin1String("app.app"))); QVERIFY(dir.cd(QLatin1String("Contents"))); |