forked from qt-creator/qt-creator
McuSupport: Fix tests
Change-Id: If8d8f00bef3ebf163f59036661e6b99be9b3e2ec Reviewed-by: Piotr Mućko <piotr.mucko@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1008,8 +1008,8 @@ void McuSupportTest::test_legacy_createFreeRtosPackage()
|
|||||||
verifyFreeRtosPackage(freeRtos,
|
verifyFreeRtosPackage(freeRtos,
|
||||||
targetDescription.freeRTOS.envVar,
|
targetDescription.freeRTOS.envVar,
|
||||||
boardSdkDir,
|
boardSdkDir,
|
||||||
expectedPath.toUserOutput(),
|
expectedPath.toString(),
|
||||||
expectedDetectionPath.toUserOutput(),
|
expectedDetectionPath.toString(),
|
||||||
expectedSettingsKey);
|
expectedSettingsKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1040,8 +1040,8 @@ void McuSupportTest::test_createFreeRtosPackage()
|
|||||||
verifyFreeRtosPackage(freeRtos,
|
verifyFreeRtosPackage(freeRtos,
|
||||||
targetDescription.freeRTOS.envVar,
|
targetDescription.freeRTOS.envVar,
|
||||||
boardSdkDir,
|
boardSdkDir,
|
||||||
expectedPath.toUserOutput(),
|
expectedPath.toString(),
|
||||||
expectedDetectionPath.toUserOutput(),
|
expectedDetectionPath.toString(),
|
||||||
expectedSettingsKey);
|
expectedSettingsKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1083,7 +1083,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().toUserOutput(), qtForMcuSdkPath);
|
QCOMPARE(qtForMCUsSDK->path().toString(), qtForMcuSdkPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
void McuSupportTest::test_legacy_supportMultipleToolchainVersions()
|
void McuSupportTest::test_legacy_supportMultipleToolchainVersions()
|
||||||
|
|||||||
Reference in New Issue
Block a user