diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-02-03 14:35:13 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-02-03 14:29:54 +0000 |
commit | 633b7b74aad54e3102f06ca5110678596e2ae9b3 (patch) | |
tree | bad213fca05cd164d6051c6fbc84f66d54bef67f /tests | |
parent | 3fad0a13ca42652fe8b720af739bf5dfcae0ee3e (diff) |
Fix separateDebugInfo() autotest on OS X.
qbs.targetOS is not necessarily set in the profile.
Change-Id: I8344bdf3fe5dc75bc23946447b85c20dbaccb5e5
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index ff218b71f..8bfb3ab6f 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -552,7 +552,7 @@ void TestBlackbox::separateDebugInfo() Profile buildProfile(profileName(), &settings); QStringList toolchain = buildProfile.value("qbs.toolchain").toStringList(); QStringList targetOS = buildProfile.value("qbs.targetOS").toStringList(); - if (targetOS.contains("darwin")) { + if (targetOS.contains("darwin") || (targetOS.isEmpty() && HostOsInfo::isOsxHost())) { QVERIFY(QFile::exists(relativeProductBuildDir("app1") + "/app1.app.dSYM")); QVERIFY(!QFile::exists(relativeProductBuildDir("app2") + "/app2.app.dSYM")); QVERIFY(QFile::exists(relativeProductBuildDir("foo1") + "/foo1.framework.dSYM")); |