diff options
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppmodelmanager_test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp index 6fa0d48169..cd7b8f367a 100644 --- a/src/plugins/cpptools/cppmodelmanager_test.cpp +++ b/src/plugins/cpptools/cppmodelmanager_test.cpp @@ -35,11 +35,18 @@ #include <coreplugin/editormanager/editormanager.h> #include <projectexplorer/projectexplorer.h> #include <projectexplorer/session.h> +#include <utils/hostosinfo.h> #include <QDebug> #include <QFileInfo> #include <QtTest> +#if QT_VERSION >= 0x050000 +#define MSKIP_SINGLE(x) QSKIP(x) +#else +#define MSKIP_SINGLE(x) QSKIP(x, SkipSingle) +#endif + using namespace CppTools::Internal; typedef CPlusPlus::Document Document; @@ -260,6 +267,9 @@ void CppToolsPlugin::test_modelmanager_paths_are_clean() /// Check: Frameworks headers are resolved. void CppToolsPlugin::test_modelmanager_framework_headers() { + if (Utils::HostOsInfo::isWindowsHost()) + MSKIP_SINGLE("Can't resolve framework soft links on Windows."); + ModelManagerTestHelper helper; CppModelManager *mm = CppModelManager::instance(); |