CMake: Temporarily disable test_static_resources on windows hosts
The output path of the object file exceeds the limit that the MSVC compiler can handle C:/Users/qt/work/qt/tqtc-qtbase_standalone_tests/tests/auto/cmake/ test_static_resources/test_static_resources_propagation\CMakeFiles \test_static_resources_propagation_cmp0099_old_finalize.dir\ test_static_resources_propagation_cmp0099_old_finalize_autogen \mocs_compilation.cpp.obj which results in fatal error C1083: Cannot open compiler generated file: '': Invalid argument Skip the test on Windows hosts to unblock the CI. Task-number: QTBUG-102864 Change-Id: I0c413485fc3ba805121c401173e931800c9e4166 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
f7a815125a
commit
166294a996
@ -277,7 +277,11 @@ include(test_plugin_shared_static_flavor.cmake)
|
|||||||
_qt_internal_test_expect_pass(tst_qaddpreroutine
|
_qt_internal_test_expect_pass(tst_qaddpreroutine
|
||||||
BINARY tst_qaddpreroutine)
|
BINARY tst_qaddpreroutine)
|
||||||
|
|
||||||
_qt_internal_test_expect_pass(test_static_resources
|
# TODO: Creates too long file paths on windows
|
||||||
|
# QTBUG-102864
|
||||||
|
if(NOT CMAKE_HOST_WIN32)
|
||||||
|
_qt_internal_test_expect_pass(test_static_resources
|
||||||
BINARY "${CMAKE_CTEST_COMMAND}"
|
BINARY "${CMAKE_CTEST_COMMAND}"
|
||||||
BINARY_ARGS "-V")
|
BINARY_ARGS "-V")
|
||||||
|
endif()
|
||||||
_qt_internal_test_expect_pass(test_qt_extract_metatypes)
|
_qt_internal_test_expect_pass(test_qt_extract_metatypes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user