forked from qt-creator/qt-creator
CompilationDatabasePM: Fix test on Windows
Change-Id: Id771d3fbcb111ef3b8c4177981794c3bd841cedc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -164,8 +164,8 @@ void CompilationDatabaseTests::testFilterArguments()
|
|||||||
{"RELATIVE_PLUGIN_PATH", "\"../lib/qtcreator/plugins\""},
|
{"RELATIVE_PLUGIN_PATH", "\"../lib/qtcreator/plugins\""},
|
||||||
{"QT_CREATOR", "1"}}));
|
{"QT_CREATOR", "1"}}));
|
||||||
QCOMPARE(testData.fileKind, CppEditor::ProjectFile::Kind::CXXSource);
|
QCOMPARE(testData.fileKind, CppEditor::ProjectFile::Kind::CXXSource);
|
||||||
QCOMPARE(testData.sysRoot.toString(), HostOsInfo::isWindowsHost() ? QString("C:\\sysroot\\embedded")
|
QCOMPARE(testData.sysRoot.toUserOutput(), HostOsInfo::isWindowsHost()
|
||||||
: QString("/opt/sysroot/embedded"));
|
? QString("C:\\sysroot\\embedded") : QString("/opt/sysroot/embedded"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static QString kCmakeCommand
|
static QString kCmakeCommand
|
||||||
|
Reference in New Issue
Block a user