llvm-project/compiler-rt/test
Vlad Tsyrklevich 00705a7f95 SafeStack: Fix flaky test (PR39001)
Summary:
pthread_join() can return before a thread finishes exit()ing in the
kernel and a subsequent tgkill() can report the thread still alive.
Update the pthread-cleanup.c test to sleep and retry if it hits this
possible flake.

Thanks to Jeremy Morse for reporting.

Reviewers: jmorse, eugenis, vitalybuka

Reviewed By: jmorse, vitalybuka

Subscribers: delcypher, jfb, llvm-commits, #sanitizers, kcc

Differential Revision: https://reviews.llvm.org/D52330

llvm-svn: 342763
2018-09-21 19:02:32 +00:00
..
BlocksRuntime
asan Fix test after r342652 2018-09-20 15:22:21 +00:00
builtins Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
cfi [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
dfsan Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
esan [tsan] Update unittest for logging changes of r308637 2017-07-20 20:06:00 +00:00
fuzzer [libfuzzer] Fix a test's run line 2018-09-21 10:50:15 +00:00
hwasan [hwasan] On every use-after-free print a developer note: the index of this heap object in the thread's deallocation ring buffer. Mostly useful to hwasan developers, will hopefully let us know the good size of the deallocation ring buffer 2018-09-12 00:58:15 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan [lsan] Check that leak sanitizer works in the forked process 2018-08-27 19:15:05 +00:00
msan [Msan] Fix unit test linkage issue on FreeBSD 2018-09-11 10:35:32 +00:00
profile [profile] Fix the tests for patch in https://reviews.llvm.org/D49916. 2018-09-21 09:17:14 +00:00
safestack SafeStack: Fix flaky test (PR39001) 2018-09-21 19:02:32 +00:00
sanitizer_common [UBSan] Partially fix `test/ubsan/TestCases/Misc/log-path_test.cc` so that it can run on devices. 2018-09-17 13:33:44 +00:00
scudo [scudo] Fix race condition in deallocation path when Quarantine is bypassed 2018-08-14 18:34:52 +00:00
shadowcallstack [scs] Disable negative test in shadowcallstack. 2018-06-29 15:16:45 +00:00
tsan [tsan] Avoid calling Block_copy in the "sync" GCD interceptors 2018-08-21 21:24:22 +00:00
ubsan [UBSan] Fix typo in CMake conditional that checked if the architecture 2018-09-19 15:27:00 +00:00
ubsan_minimal [NFC] Some small test updates for Implicit Conversion sanitizer. 2018-08-17 07:33:38 +00:00
xray [XRay] Remove the unused variable 2018-09-15 06:25:17 +00:00
CMakeLists.txt [libFuzzer] Enable tests on Windows 2018-09-04 17:08:47 +00:00
lit.common.cfg [UBSan] Partially fix `test/ubsan/TestCases/Misc/log-path_test.cc` so that it can run on devices. 2018-09-17 13:33:44 +00:00
lit.common.configured.in [compiler-rt] Add NewPM testing to CFI tests 2018-07-19 15:32:48 +00:00