McuSupport: Compare OS specific paths in unit test

Change-Id: I95cae23dc1aebfa5f9d7ff7c6cb36f984b2d53a5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
This commit is contained in:
Piotr Mućko
2022-09-05 21:55:46 +02:00
parent a9eb732ce6
commit fe5fdce2d6

View File

@@ -1071,7 +1071,7 @@ void McuSupportTest::test_legacy_createQtMCUsPackage()
QCOMPARE(qtForMCUsSDK->detectionPath(), QCOMPARE(qtForMCUsSDK->detectionPath(),
FilePath::fromUserInput(Legacy::Constants::QT_FOR_MCUS_SDK_PACKAGE_VALIDATION_PATH) FilePath::fromUserInput(Legacy::Constants::QT_FOR_MCUS_SDK_PACKAGE_VALIDATION_PATH)
.withExecutableSuffix()); .withExecutableSuffix());
QCOMPARE(qtForMCUsSDK->path().toString(), qtForMcuSdkPath); QCOMPARE(qtForMCUsSDK->path().toUserOutput(), qtForMcuSdkPath);
} }
void McuSupportTest::test_legacy_supportMultipleToolchainVersions() void McuSupportTest::test_legacy_supportMultipleToolchainVersions()