]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Workaround bar_bad testcase hanging with newer glibc in helgrind/drd tests.
authorMark Wielaard <mark@klomp.org>
Mon, 19 Sep 2016 14:16:35 +0000 (14:16 +0000)
committerMark Wielaard <mark@klomp.org>
Mon, 19 Sep 2016 14:16:35 +0000 (14:16 +0000)
commit5f37e4dcde228872180c0cf28e6bee162fb3db08
tree688ac805bb9c6487446d332ec293808cd1e8888c
parentc5556b2094d8b0016e11625e327b25f5179331e3
Workaround bar_bad testcase hanging with newer glibc in helgrind/drd tests.

This is a workaround for bug #358213 helgrind/drd pthread_barrier tests
hangs with new glibc pthread barrier implementation. This makes sure that
the tests don't hang anymore. It does this by creating new threads that
sleep and kill the other threads after some time. But this introduces
some non-determinism that might cause the tests to occassionally fail
(both against old and new glibc implementations).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15962
drd/tests/Makefile.am
drd/tests/bar_bad.stderr.exp
drd/tests/bar_bad.stderr.exp-nohang [new file with mode: 0644]
drd/tests/bar_bad_xml.stderr.exp
drd/tests/bar_bad_xml.stderr.exp-nohang [new file with mode: 0644]
helgrind/tests/Makefile.am
helgrind/tests/bar_bad.c
helgrind/tests/bar_bad.stderr.exp