Skip to content

Commit 1ed97e6

Browse files
committed
Disable some nested rr tests for now, when ran with address sanitizer.
1 parent 8b91430 commit 1ed97e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,8 @@ option(asan "Build with address santitizer enabled.")
528528
if (asan)
529529
set(ASAN_FLAGS "-fno-omit-frame-pointer -fsanitize=address")
530530
set(RR_FLAGS "${ASAN_FLAGS} ${RR_FLAGS}")
531+
list(APPEND DISABLED_TESTS nested_detach-no-syscallbuf)
532+
list(APPEND DISABLED_TESTS nested_detach-32-no-syscallbuf)
531533
endif()
532534

533535
set_source_files_properties(${RR_SOURCES}
@@ -1561,6 +1563,11 @@ if(BUILD_TESTS)
15611563
endfunction(configure_test)
15621564

15631565
function(rr_add_test test command testname syscallbuf bin_dir timeout)
1566+
list (FIND DISABLED_TESTS "${test}" _index)
1567+
if (${_index} GREATER -1)
1568+
message("Test disabled: ${test}")
1569+
return()
1570+
endif()
15641571
add_test("${test}" "bash" "${command}" "${testname}" "${syscallbuf}" "${bin_dir}" "${timeout}")
15651572
configure_test(${test})
15661573
endfunction(rr_add_test)

0 commit comments

Comments
 (0)