From: Paul Floyd Date: Thu, 29 Dec 2022 21:21:03 +0000 (+0100) Subject: Add DRD shared_timed_mutex to Helgrind X-Git-Tag: VALGRIND_3_21_0~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cfb0173eda1843904650bef755b3e19a5b3fb1b;p=thirdparty%2Fvalgrind.git Add DRD shared_timed_mutex to Helgrind This uses pthread_rwlock_timedrdlock / pthread_rwlock_timedwrlock (see commit 6ffb70e650ee7cf4ada829557dd30ababb09e078) --- diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index 32f926b74f..ac6b15af77 100755 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -66,6 +66,7 @@ EXTRA_DIST = \ pth_spinlock.vgtest pth_spinlock.stdout.exp pth_spinlock.stderr.exp \ rwlock_race.vgtest rwlock_race.stdout.exp rwlock_race.stderr.exp \ rwlock_test.vgtest rwlock_test.stdout.exp rwlock_test.stderr.exp \ + shared_timed_mutex.vgtest shared_timed_mutex.stderr.exp \ shmem_abits.vgtest shmem_abits.stdout.exp shmem_abits.stderr.exp \ stackteardown.vgtest stackteardown.stdout.exp stackteardown.stderr.exp \ t2t_laog.vgtest t2t_laog.stdout.exp t2t_laog.stderr.exp \ diff --git a/helgrind/tests/shared_timed_mutex.stderr.exp b/helgrind/tests/shared_timed_mutex.stderr.exp new file mode 100644 index 0000000000..d18786f806 --- /dev/null +++ b/helgrind/tests/shared_timed_mutex.stderr.exp @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/helgrind/tests/shared_timed_mutex.vgtest b/helgrind/tests/shared_timed_mutex.vgtest new file mode 100644 index 0000000000..d3a044379c --- /dev/null +++ b/helgrind/tests/shared_timed_mutex.vgtest @@ -0,0 +1,3 @@ +prereq: test -e ../../drd/tests/shared_timed_mutex +vgopts: --read-var-info=yes +prog: ../../drd/tests/shared_timed_mutex