From: Bart Van Assche Date: Sat, 8 Mar 2008 08:20:43 +0000 (+0000) Subject: Added an output variant for exp-drd/tests/hg03_inherit. X-Git-Tag: svn/VALGRIND_3_4_0~947 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78fb642d7f79ab0a4a2186cfccaf3d148d04bbf9;p=thirdparty%2Fvalgrind.git Added an output variant for exp-drd/tests/hg03_inherit. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7593 --- diff --git a/exp-drd/tests/Makefile.am b/exp-drd/tests/Makefile.am index 91a96ca947..202e6d7998 100644 --- a/exp-drd/tests/Makefile.am +++ b/exp-drd/tests/Makefile.am @@ -30,6 +30,7 @@ EXTRA_DIST = \ hg02_deadlock.stderr.exp-linuxthreads \ hg02_deadlock.vgtest \ hg03_inherit.stderr.exp \ + hg03_inherit.stderr.exp2 \ hg03_inherit.stderr.exp-linuxthreads \ hg03_inherit.vgtest \ hg04_race.stderr.exp \ diff --git a/exp-drd/tests/filter_stderr b/exp-drd/tests/filter_stderr index a4b8e19cd4..57c869f104 100755 --- a/exp-drd/tests/filter_stderr +++ b/exp-drd/tests/filter_stderr @@ -18,6 +18,7 @@ sed \ -e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \ -e "s/\(pthread_create.c:[0-9]*\)/in libpthread-?.?.so/" \ -e "s:[A-Za-z_]* (in [^ ]*libpthread-[0-9.]*\.so):(within libpthread-?.?.so):" \ +-e "s:(within /lib/ld-[0-9.]*\.so):(within ld-?.?.so):" \ -e "s/ (\([a-zA-Z_]*\.c\):[0-9]*)/ (\1:?)/" \ -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" | diff --git a/exp-drd/tests/hg03_inherit.stderr.exp2 b/exp-drd/tests/hg03_inherit.stderr.exp2 new file mode 100644 index 0000000000..2d580ea911 --- /dev/null +++ b/exp-drd/tests/hg03_inherit.stderr.exp2 @@ -0,0 +1,33 @@ + +Thread 3: +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: t2 (hg03_inherit.c:28) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Location 0x........ is 0 bytes inside shared[1], +declared at hg03_inherit.c:11, in frame #? of thread 3 +Other segment start (thread 1) + at 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:49) +Other segment end (thread 1) + at 0x........: (within ld-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:63) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: t2 (hg03_inherit.c:29) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Location 0x........ is 0 bytes inside shared[1], +declared at hg03_inherit.c:11, in frame #? of thread 3 +Other segment start (thread 1) + at 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:49) +Other segment end (thread 1) + at 0x........: (within ld-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:63) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)