Skip to content

Commit 1934fe4

Browse files
committed
Enable tests that work now with the three previous patches.
These two tests have still a problem and getting stuck: nested_detach-no-syscallbuf nested_detach-32-no-syscallbuf For some reason just the no-syscallbuf variants get stuck, the regular ones succeed.
1 parent 5d5775e commit 1934fe4

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

CMakeLists.txt

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -534,27 +534,14 @@ if (asan)
534534
set(ASAN_FLAGS "-fsanitize=address")
535535
set(RR_FLAGS "${ASAN_FLAGS} ${RR_FLAGS}")
536536

537-
# ==278218==ERROR: AddressSanitizer: requested allocation size 0x20000000000 (0x20000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
538-
list(APPEND DISABLED_TESTS nested_detach)
537+
# Tests just hang
538+
# Might be related to #2746 and might disappear when
539+
# using a libasan with the patch triggered by #2329.
540+
# https://bugs.llvm.org/show_bug.cgi?id=41095
541+
# https://reviews.llvm.org/D70581#
542+
# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3c6331c29f1376ed220246e7dead94bc527a9aa9
539543
list(APPEND DISABLED_TESTS nested_detach-no-syscallbuf)
540-
list(APPEND DISABLED_TESTS nested_detach-32)
541544
list(APPEND DISABLED_TESTS nested_detach-32-no-syscallbuf)
542-
list(APPEND DISABLED_TESTS nested_release)
543-
list(APPEND DISABLED_TESTS nested_release-no-syscallbuf)
544-
list(APPEND DISABLED_TESTS nested_release-32)
545-
list(APPEND DISABLED_TESTS nested_release-32-no-syscallbuf)
546-
547-
# ==249576==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
548-
list(APPEND DISABLED_TESTS nested_detach_wait)
549-
list(APPEND DISABLED_TESTS nested_detach_wait-no-syscallbuf)
550-
list(APPEND DISABLED_TESTS nested_detach_wait-32)
551-
list(APPEND DISABLED_TESTS nested_detach_wait-32-no-syscallbuf)
552-
553-
# FAILED: subshell died, no need to longer wait for 'sleeping'
554-
list(APPEND DISABLED_TESTS nested_detach_kill)
555-
list(APPEND DISABLED_TESTS nested_detach_kill-no-syscallbuf)
556-
list(APPEND DISABLED_TESTS nested_detach_kill-32)
557-
list(APPEND DISABLED_TESTS nested_detach_kill-32-no-syscallbuf)
558545

559546
endif()
560547

0 commit comments

Comments
 (0)