CppTools: Test: Skip framework test on Windows.

The soft links inside the framework can't be resolved.

Change-Id: I9f328bc074091236fb33eee63e725e49efeac5c9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
David Schulz
2013-08-19 11:05:19 +02:00
parent df75ec5e96
commit a9e737b0fe

View File

@@ -35,11 +35,18 @@
#include <coreplugin/editormanager/editormanager.h> #include <coreplugin/editormanager/editormanager.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h> #include <projectexplorer/session.h>
#include <utils/hostosinfo.h>
#include <QDebug> #include <QDebug>
#include <QFileInfo> #include <QFileInfo>
#include <QtTest> #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; using namespace CppTools::Internal;
typedef CPlusPlus::Document Document; typedef CPlusPlus::Document Document;
@@ -260,6 +267,9 @@ void CppToolsPlugin::test_modelmanager_paths_are_clean()
/// Check: Frameworks headers are resolved. /// Check: Frameworks headers are resolved.
void CppToolsPlugin::test_modelmanager_framework_headers() void CppToolsPlugin::test_modelmanager_framework_headers()
{ {
if (Utils::HostOsInfo::isWindowsHost())
MSKIP_SINGLE("Can't resolve framework soft links on Windows.");
ModelManagerTestHelper helper; ModelManagerTestHelper helper;
CppModelManager *mm = CppModelManager::instance(); CppModelManager *mm = CppModelManager::instance();