File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,12 @@ endif()
391391
392392# Tests of examples as standalone projects. TODO: enable this for Windows (maybe
393393# replace test_examples.sh with CMake script?)
394- if (LINUX
394+ #
395+ # XXX: This test is disabled as it is broken - it can silently install the library without user consent,
396+ # or it fails if there is no permission to do it.
397+ # https://github.com/oneapi-src/unified-memory-framework/issues/674
398+ #
399+ if (FALSE AND LINUX
395400 AND UMF_BUILD_SHARED_LIBRARY
396401 AND NOT
397402 (UMF_USE_ASAN
@@ -440,13 +445,13 @@ if(LINUX
440445 )
441446 endif ()
442447
443- if (NOT UMF_DISABLE_HWLOC)
444- add_test (
445- NAME umf_standalone_examples
446- COMMAND
447- ${UMF_CMAKE_SOURCE_DIR} /test /test_examples.sh
448- ${UMF_CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
449- ${CMAKE_INSTALL_PREFIX} ${EXAMPLES}
450- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
451- endif ()
448+ if (NOT UMF_DISABLE_HWLOC)
449+ add_test (
450+ NAME umf_standalone_examples
451+ COMMAND
452+ ${UMF_CMAKE_SOURCE_DIR} /test /test_examples.sh
453+ ${UMF_CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
454+ ${CMAKE_INSTALL_PREFIX} ${EXAMPLES}
455+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
456+ endif ()
452457endif ()
You can’t perform that action at this time.
0 commit comments