|
From: <sv...@va...> - 2009-07-26 21:36:36
|
Author: sewardj Date: 2009-07-26 22:36:24 +0100 (Sun, 26 Jul 2009) New Revision: 10627 Log: Add a new output file for tc12_rwl_trivial. It unfortunately can't be the same as the glibc one, because glibc is broken in the sense that it doesn't return an error code for an attempt to unlock a not-locked rwlock, and the returned error code affects Helgrind's output. Added: trunk/helgrind/tests/tc12_rwl_trivial.stderr.exp-darwin970 Modified: trunk/helgrind/tests/Makefile.am Modified: trunk/helgrind/tests/Makefile.am =================================================================== --- trunk/helgrind/tests/Makefile.am 2009-07-26 20:15:37 UTC (rev 10626) +++ trunk/helgrind/tests/Makefile.am 2009-07-26 21:36:24 UTC (rev 10627) @@ -42,6 +42,7 @@ tc11_XCHG.vgtest tc11_XCHG.stdout.exp tc11_XCHG.stderr.exp \ tc12_rwl_trivial.vgtest tc12_rwl_trivial.stdout.exp \ tc12_rwl_trivial.stderr.exp \ + tc12_rwl_trivial.stderr.exp-darwin970 \ tc13_laog1.vgtest tc13_laog1.stdout.exp tc13_laog1.stderr.exp \ tc14_laog_dinphils.vgtest tc14_laog_dinphils.stdout.exp \ tc14_laog_dinphils.stderr.exp \ Added: trunk/helgrind/tests/tc12_rwl_trivial.stderr.exp-darwin970 =================================================================== --- trunk/helgrind/tests/tc12_rwl_trivial.stderr.exp-darwin970 (rev 0) +++ trunk/helgrind/tests/tc12_rwl_trivial.stderr.exp-darwin970 2009-07-26 21:36:24 UTC (rev 10627) @@ -0,0 +1,16 @@ + +Thread #x is the program's root thread + +Thread #x unlocked a not-locked lock at 0x........ + at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...) + by 0x........: main (tc12_rwl_trivial.c:35) + Lock at 0x........ was first observed + at 0x........: pthread_rwlock_init* (hg_intercepts.c:...) + by 0x........: main (tc12_rwl_trivial.c:24) + +Thread #x's call to pthread_rwlock_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...) + by 0x........: main (tc12_rwl_trivial.c:35) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |