Skip to content

Commit c32472e

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

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
@@ -526,6 +526,8 @@ option(asan "Build with address santitizer enabled.")
526526
if (asan)
527527
set(ASAN_FLAGS "-fno-omit-frame-pointer -fsanitize=address")
528528
set(RR_FLAGS "${ASAN_FLAGS} ${RR_FLAGS}")
529+
list(APPEND DISABLED_TESTS nested_detach-no-syscallbuf)
530+
list(APPEND DISABLED_TESTS nested_detach-32-no-syscallbuf)
529531
endif()
530532

531533
set_source_files_properties(${RR_SOURCES}
@@ -1552,6 +1554,11 @@ if(BUILD_TESTS)
15521554
endfunction(configure_test)
15531555

15541556
function(rr_add_test test command testname syscallbuf bin_dir timeout)
1557+
list (FIND DISABLED_TESTS "${test}" _index)
1558+
if (${_index} GREATER -1)
1559+
message("Test disabled: ${test}")
1560+
return()
1561+
endif()
15551562
add_test("${test}" "bash" "${command}" "${testname}" "${syscallbuf}" "${bin_dir}" "${timeout}")
15561563
configure_test(${test})
15571564
endfunction(rr_add_test)

0 commit comments

Comments
 (0)