forked from qt-creator/qt-creator
McuSupport: Tests fixup
Change-Id: Ida4fab44f9e3736efb0253d4c270981ecc544e2c Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: Dawid Śliwa <dawid.sliwa@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -81,7 +81,7 @@ constexpr auto armgcc_nxp_1050_json = R"({
|
|||||||
"label": "CMake Toolchain File",
|
"label": "CMake Toolchain File",
|
||||||
"cmakeVar": "CMAKE_TOOLCHAIN_FILE",
|
"cmakeVar": "CMAKE_TOOLCHAIN_FILE",
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"defaultValue": "$Qul_ROOT//lib/cmake/Qul/toolchain/armgcc.cmake",
|
"defaultValue": "/opt/qtformcu/2.2/lib/cmake/Qul/toolchain/armgcc.cmake",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"optional": false
|
"optional": false
|
||||||
}
|
}
|
||||||
|
@@ -941,7 +941,8 @@ void McuSupportTest::test_legacy_createQtMCUsPackage()
|
|||||||
QVERIFY(qtForMCUsSDK);
|
QVERIFY(qtForMCUsSDK);
|
||||||
QCOMPARE(qtForMCUsSDK->settingsKey(), Constants::SETTINGS_KEY_PACKAGE_QT_FOR_MCUS_SDK);
|
QCOMPARE(qtForMCUsSDK->settingsKey(), Constants::SETTINGS_KEY_PACKAGE_QT_FOR_MCUS_SDK);
|
||||||
QCOMPARE(qtForMCUsSDK->detectionPath(),
|
QCOMPARE(qtForMCUsSDK->detectionPath(),
|
||||||
Legacy::Constants::QT_FOR_MCUS_SDK_PACKAGE_VALIDATION_PATH);
|
FilePath::fromUserInput(Legacy::Constants::QT_FOR_MCUS_SDK_PACKAGE_VALIDATION_PATH)
|
||||||
|
.withExecutableSuffix());
|
||||||
QCOMPARE(qtForMCUsSDK->path().toString(), qtForMcuSdkPath);
|
QCOMPARE(qtForMCUsSDK->path().toString(), qtForMcuSdkPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user