drd/tests: Extract start_thread which can come from libpthread or libc
commitdf838bccab28311b06836d032f54df9973c9cb74
authorMark Wielaard <mark@klomp.org>
Tue, 12 Oct 2021 16:51:23 +0000 (12 18:51 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 12 Oct 2021 16:51:23 +0000 (12 18:51 +0200)
tree42d3eebef61813c78fcf9c945245dc0fa73bfe45
parent2269aeb76c0531fe09e1dbb0d66fa3961159247c
drd/tests: Extract start_thread which can come from libpthread or libc

The drd/tests/tc21_pthonce and drd/tests/annotate_barrier tests
would fail if start_thread came from libc (as it does in glibc 2.34)
instead of from libpthread. Extract start_thread in filter_stderr.in
and update the backtraces in annotate_barrier.stderr.exp and in
tc21_pthonce.stderr.exp

Tested against glibc 2.34, 2.33 and 2.17 on x86_64.
drd/tests/annotate_barrier.stderr.exp
drd/tests/filter_stderr.in
drd/tests/tc21_pthonce.stderr.exp