diff --git a/paddle/fluid/memory/detail/CMakeLists.txt b/paddle/fluid/memory/detail/CMakeLists.txt index d80f26cb7438ced0b7967171a92537015807050d..d9c53cef2e562e00f7492b43beb22d8821ceb7db 100644 --- a/paddle/fluid/memory/detail/CMakeLists.txt +++ b/paddle/fluid/memory/detail/CMakeLists.txt @@ -13,6 +13,7 @@ cc_library(buddy_allocator SRCS buddy_allocator.cc DEPS memory_block system_allo cc_test(buddy_allocator_test SRCS buddy_allocator_test.cc DEPS buddy_allocator) if(WITH_TESTING) + set_tests_properties(buddy_allocator_test PROPERTIES LABELS "RUN_TYPE=EXCLUSIVE") add_custom_command(TARGET buddy_allocator_test POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/../../testdata/buddy_allocator_test_data ${CMAKE_CURRENT_BINARY_DIR}/buddy_allocator_test_data )